mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
style: fix font family inconsistencies (#6501)
style: font fix for four components The browser default font was showing up in various locations. Fixed them to show the desired ui font.
This commit is contained in:
parent
1815cf3213
commit
1e9943323a
4 changed files with 7 additions and 0 deletions
|
@ -183,6 +183,7 @@
|
|||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 0.875rem;
|
||||
font-family: inherit;
|
||||
background-color: transparent;
|
||||
color: var(--text-primary-color);
|
||||
border: 0;
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
background-color: transparent;
|
||||
border: none;
|
||||
white-space: nowrap;
|
||||
font-family: inherit;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 0.2fr;
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
// container in body where the actual tooltip is appended to
|
||||
.excalidraw-tooltip {
|
||||
--ui-font: Assistant, system-ui, BlinkMacSystemFont, -apple-system, Segoe UI,
|
||||
Roboto, Helvetica, Arial, sans-serif;
|
||||
font-family: var(--ui-font);
|
||||
position: fixed;
|
||||
z-index: 1000;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue