From: Alexander Ebert Date: Thu, 17 Mar 2016 16:25:58 +0000 (+0100) Subject: Fixed some dispaly issues X-Git-Tag: 3.0.0_Beta_1~2024 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=67778bff9c480a106aba53e02e0f7e346bb9ab56;p=GitHub%2FWoltLab%2FWCF.git Fixed some dispaly issues --- 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;