From 045be0202c2553e0acf447c250a5d17975a80bdd Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 30 Dec 2015 14:39:16 +0100 Subject: [PATCH] Fixed main menu visuals --- com.woltlab.wcf/templates/__menu.tpl | 24 ++++++++++--------- .../files/style/layout/pageHeader.scss | 4 ++-- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/com.woltlab.wcf/templates/__menu.tpl b/com.woltlab.wcf/templates/__menu.tpl index 91a4298d11..e0f64650a7 100644 --- a/com.woltlab.wcf/templates/__menu.tpl +++ b/com.woltlab.wcf/templates/__menu.tpl @@ -1,12 +1,14 @@ -
    - {foreach from=$menuItemNodeList item=menuItemNode} -
  1. - {lang}{$menuItemNode->getMenuItem()->title}{/lang} - - {if $menuItemNode->hasChildren()}
      {else}{/if} +
    + {if $menuItemNode->hasChildren()}
  2. "|str_repeat:$menuItemNode->getOpenParentNodes()} + {/if} + {/foreach} +
+ diff --git a/wcfsetup/install/files/style/layout/pageHeader.scss b/wcfsetup/install/files/style/layout/pageHeader.scss index eec4684905..3e99265130 100644 --- a/wcfsetup/install/files/style/layout/pageHeader.scss +++ b/wcfsetup/install/files/style/layout/pageHeader.scss @@ -41,10 +41,10 @@ } /* MAIN MENU */ -#mainMenu { +.mainMenu { flex: 0 50%; - > ul { + > ol { display: flex; > li { -- 2.20.1