From 2e9cdf9c4734b15d27a0afbb8b00f488d0685d64 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sun, 3 Nov 2013 16:30:00 +0100 Subject: [PATCH] Mobile optimization --- wcfsetup/install/files/style/layout.less | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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; } } -- 2.20.1