From: Alexander Ebert Date: Wed, 2 Mar 2016 14:31:24 +0000 (+0100) Subject: Slightly improved visuals for mobile header X-Git-Tag: 3.0.0_Beta_1~2030^2~66 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6e133a618de99a5ab9c282562884e9966e6e578b;p=GitHub%2FWoltLab%2FWCF.git Slightly improved visuals for mobile header --- 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;