From 6e133a618de99a5ab9c282562884e9966e6e578b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 2 Mar 2016 15:31:24 +0100 Subject: [PATCH] Slightly improved visuals for mobile header --- .../install/files/style/layout/pageHeader.scss | 1 - .../files/style/layout/pageHeaderSticky.scss | 18 ++++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/wcfsetup/install/files/style/layout/pageHeader.scss b/wcfsetup/install/files/style/layout/pageHeader.scss index 1a97f717d8..59e7d7554c 100644 --- a/wcfsetup/install/files/style/layout/pageHeader.scss +++ b/wcfsetup/install/files/style/layout/pageHeader.scss @@ -43,7 +43,6 @@ } @include small-screen-only { - height: 50px; padding: 10px; } } diff --git a/wcfsetup/install/files/style/layout/pageHeaderSticky.scss b/wcfsetup/install/files/style/layout/pageHeaderSticky.scss index 4578e5b313..c48120ab05 100644 --- a/wcfsetup/install/files/style/layout/pageHeaderSticky.scss +++ b/wcfsetup/install/files/style/layout/pageHeaderSticky.scss @@ -18,19 +18,17 @@ top: 0; right: 0; z-index: 301; - - > div { - height: 50px; - - @include large-screen-only { - // remove padding, the vertical alignment is done using `align-items` - padding-bottom: 0; - padding-top: 0; - } - } } @include large-screen-only { + .layoutBoundary { + height: 50px; + + // remove padding, the vertical alignment is done using `align-items` + padding-bottom: 0; + padding-top: 0; + } + .pageHeaderContainerLeft, .pageHeaderContainerRight { align-items: center; -- 2.20.1