Fixed some dispaly issues
authorAlexander Ebert <ebert@woltlab.com>
Thu, 17 Mar 2016 16:25:58 +0000 (17:25 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 17 Mar 2016 16:26:04 +0000 (17:26 +0100)
wcfsetup/install/files/js/WoltLab/WCF/Ui/TabMenu.js
wcfsetup/install/files/style/layout/box.scss

index 3b5a13bb62c2031db3a0f99b8a364ffd779c4786..d903722015c81ce9c86c0b71f30ea8ea4cd9fe53 100644 (file)
@@ -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) {
index 4c6deaeefe3c60a23531b4ac5e74b60a3aa02741..cf21638be35ba8accc198198f3dd3f78cb0f5839 100644 (file)
 /* styling for boxes in <top>/<bottom> position */
 .boxesTop,
 .boxesBottom {
+       flex: 0 0 auto;
+       
        .box {
                margin-bottom: 40px;
                margin-top: 40px;