mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 06:58:26 +03:00
Simplify CSS guard
This commit is contained in:
parent
d8437c2213
commit
028fbbfd35
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user