mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Allow and guard against undefined font-family
This commit is contained in:
@@ -78,3 +78,8 @@
|
||||
@component-border-radius: 2px;
|
||||
|
||||
@tab-height: 30px;
|
||||
|
||||
|
||||
// Other
|
||||
|
||||
@font-family: '';
|
||||
|
||||
@@ -5,10 +5,13 @@
|
||||
|
||||
html {
|
||||
font: menu;
|
||||
font-family: @font-family;
|
||||
font-size: @font-size;
|
||||
}
|
||||
|
||||
html when not (@font-family = '') {
|
||||
font-family: @font-family;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
@@ -24,7 +27,6 @@ atom-workspace {
|
||||
color: @text-color;
|
||||
background-color: @app-background-color;
|
||||
font: menu;
|
||||
font-family: @font-family;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
|
||||
@@ -39,3 +41,7 @@ atom-workspace {
|
||||
-webkit-flex-flow: column;
|
||||
}
|
||||
}
|
||||
|
||||
atom-workspace when not (@font-family = '') {
|
||||
font-family: @font-family;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user