Fixed dialogs being too large after form removal
authorAlexander Ebert <ebert@woltlab.com>
Sun, 24 Jul 2016 19:04:16 +0000 (21:04 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 24 Jul 2016 19:04:16 +0000 (21:04 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Ui/Dialog.js

index 01dad2b0d3c44f65f9000389dd5dc62c352c698b..665a9944db9e44d62a750671f56314676ac9727b 100644 (file)
@@ -428,6 +428,7 @@ define(
                        }
                        else {
                                contentContainer.classList.remove('dialogForm');
+                               contentContainer.style.removeProperty('margin-bottom');
                        }
                        
                        unavailableHeight += DomUtil.outerHeight(data.header);