From 595cf59cebe3429d35ddea0659ecd098c5ffae65 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 24 May 2016 16:08:50 +0200 Subject: [PATCH] Fixed display issues w/ user login --- wcfsetup/install/files/style/ui/userLogin.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wcfsetup/install/files/style/ui/userLogin.scss b/wcfsetup/install/files/style/ui/userLogin.scss index 43a1c7a72e..f54938d9de 100644 --- a/wcfsetup/install/files/style/ui/userLogin.scss +++ b/wcfsetup/install/files/style/ui/userLogin.scss @@ -70,7 +70,13 @@ column-gap: 40px; > .section { + /* Sections should never be split, but Firefox, IE and Edge don't seem + to care about this despite advertising the support for it. We can work + around this by using `overflow: hidden` which magically does the job, + but doesn't affect Chrome which properly breaks anyway. */ + margin-top: 0; + overflow: hidden; /* Fix for Firefox, IE and Edge */ -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */ page-break-inside: avoid; /* Firefox */ -- 2.20.1