mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Simplify CSS guard
This commit is contained in:
@@ -8,10 +8,6 @@ html {
|
||||
font-size: @font-size;
|
||||
}
|
||||
|
||||
html when not (@font-family = '') {
|
||||
font-family: @font-family;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
@@ -42,6 +38,9 @@ atom-workspace {
|
||||
}
|
||||
}
|
||||
|
||||
atom-workspace when not (@font-family = '') {
|
||||
font-family: @font-family;
|
||||
& when not (@font-family = '') {
|
||||
html,
|
||||
atom-workspace {
|
||||
font-family: @font-family;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user