From: Marcel Werk Date: Sun, 3 Nov 2013 15:30:00 +0000 (+0100) Subject: Mobile optimization X-Git-Tag: 2.0.0_Beta_11~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e9cdf9c4734b15d27a0afbb8b00f488d0685d64;p=GitHub%2FWoltLab%2FWCF.git Mobile optimization --- diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index 6b1d2d58fc..e486965280 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -377,6 +377,7 @@ } } } + @media screen and (min-width: 801px), print { .mainMenu > ul > li { margin-top: -7px; @@ -402,6 +403,16 @@ } } +@media only screen and (max-width: 800px) { + .mainMenu > ul > li.active { + margin-bottom: -1px; + + > a { + padding-bottom: 5px; + } + } +} + /* navigation */ .navigation { padding: 0 7px; @@ -518,7 +529,6 @@ @media only screen and (max-width: 800px) { .navigationHeader { - border-top-width: 0; min-height: 4px; } }