From ebbaa2bccd314e7553d61205d8550c2412bfb7ef Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 11 Apr 2013 16:50:55 +0200 Subject: [PATCH] Add optimizations for mobile devices --- wcfsetup/install/files/style/layout.less | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/style/layout.less b/wcfsetup/install/files/style/layout.less index 90cad8dec8..11fb5c4753 100644 --- a/wcfsetup/install/files/style/layout.less +++ b/wcfsetup/install/files/style/layout.less @@ -470,13 +470,24 @@ } @media only screen and (max-width: 768px) { - .navigation { + .navigation.navigationHeader { > ul.navigationIcons, > ul.navigationItems, > ul.navigationMenuItems { display: none; } } + + .navigation.navigationFooter { + > ul.navigationIcons, + > ul.navigationItems { + display: none; + } + + > ul.navigationMenuItems > li { + margin: 4px 7px 4px 0; + } + } } .navigationHeader { -- 2.20.1