From 67778bff9c480a106aba53e02e0f7e346bb9ab56 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 17 Mar 2016 17:25:58 +0100 Subject: [PATCH] Fixed some dispaly issues --- wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu.js | 2 +- wcfsetup/install/files/style/layout/box.scss | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu.js index 3b5a13bb62..d903722015 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu.js @@ -26,7 +26,6 @@ define(['Dictionary', 'Dom/ChangeListener', 'Dom/Util', 'Ui/CloseOverlay', './Ta DomChangeListener.add('WoltLab/WCF/Ui/TabMenu', this._init.bind(this)); UiCloseOverlay.add('WoltLab/WCF/Ui/TabMenu', function() { if (_activeList) { - console.debug("b0rk!"); _activeList.classList.remove('active'); _activeList = null; @@ -61,6 +60,7 @@ define(['Dictionary', 'Dom/ChangeListener', 'Dom/Util', 'Ui/CloseOverlay', './Ta list = elBySel('#' + containerId + ' > nav > ul'); (function(list) { list.addEventListener(WCF_CLICK_EVENT, function(event) { + event.preventDefault(); event.stopPropagation(); if (event.target === list) { diff --git a/wcfsetup/install/files/style/layout/box.scss b/wcfsetup/install/files/style/layout/box.scss index 4c6deaeefe..cf21638be3 100644 --- a/wcfsetup/install/files/style/layout/box.scss +++ b/wcfsetup/install/files/style/layout/box.scss @@ -109,6 +109,8 @@ /* styling for boxes in / position */ .boxesTop, .boxesBottom { + flex: 0 0 auto; + .box { margin-bottom: 40px; margin-top: 40px; -- 2.20.1