mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Use relative CSS units (#484)
This commit is contained in:
parent
183a62627c
commit
1a03a29025
8 changed files with 37 additions and 36 deletions
|
@ -34,9 +34,9 @@ body {
|
|||
flex-direction: column;
|
||||
|
||||
h5 {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
font-size: 12px;
|
||||
margin-top: 0.333rem;
|
||||
margin-bottom: 0.333em;
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-color-primary);
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,8 @@ body {
|
|||
flex-wrap: wrap;
|
||||
|
||||
button {
|
||||
margin-right: 4px;
|
||||
margin-right: 0.25rem;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -68,8 +69,8 @@ button {
|
|||
background-color: #e9ecef;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
margin: 2px 0;
|
||||
padding: 5px;
|
||||
margin: 0.125rem 0;
|
||||
padding: 0.25rem;
|
||||
outline: transparent;
|
||||
|
||||
&:focus {
|
||||
|
@ -130,5 +131,5 @@ button {
|
|||
}
|
||||
|
||||
.App-right-menu {
|
||||
width: 220px;
|
||||
width: 13.75rem;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue