From 028fbbfd3524e46bd963ba1c20cdc76abf5d86ca Mon Sep 17 00:00:00 2001 From: Machiste Quintana Date: Mon, 14 Sep 2015 13:18:57 -0400 Subject: [PATCH] Simplify CSS guard --- static/workspace-view.less | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/static/workspace-view.less b/static/workspace-view.less index e4dae8ee0..5331b9d5c 100644 --- a/static/workspace-view.less +++ b/static/workspace-view.less @@ -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; + } }