From 602d93db7424486f26c34fbf22da0f6f3a56ef6a Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 4 Aug 2015 17:15:05 +0930 Subject: [PATCH] Make header slightly more compact --- framework/core/less/lib/App.less | 6 +----- framework/core/less/lib/variables.less | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/framework/core/less/lib/App.less b/framework/core/less/lib/App.less index 2b6006249..4c2280b62 100755 --- a/framework/core/less/lib/App.less +++ b/framework/core/less/lib/App.less @@ -135,10 +135,6 @@ .transition-transform(0.2s); z-index: @zindex-modal; - // & when (@config-colored-header = true) { - // .light-contents(); - // } - .drawerOpen & { -webkit-transform: none !important; transform: none !important; @@ -222,7 +218,7 @@ display: none; } .App-header { - padding: 10px; + padding: 8px; height: @header-height; position: absolute; top: 0; diff --git a/framework/core/less/lib/variables.less b/framework/core/less/lib/variables.less index 80fcead00..78f9f508a 100755 --- a/framework/core/less/lib/variables.less +++ b/framework/core/less/lib/variables.less @@ -90,8 +90,8 @@ @drawer-width: 270px; @pane-width: 400px; -@header-height: 56px; -@header-height-phone: 46px; +@header-height: 52px; +@header-height-phone: 46px; @border-radius: 4px;