From: Matthias Schmidt Date: Thu, 12 Jul 2018 17:13:32 +0000 (+0200) Subject: Add support for floated (radiobutton) form field X-Git-Tag: 5.2.0_Alpha_1~680^2~21 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=115632301fe538f20a52fc6066e1cb9317116b18;p=GitHub%2FWoltLab%2FWCF.git Add support for floated (radiobutton) form field See #2509 --- diff --git a/wcfsetup/install/files/style/element/dl.scss b/wcfsetup/install/files/style/element/dl.scss index a010220945..335d266fe9 100644 --- a/wcfsetup/install/files/style/element/dl.scss +++ b/wcfsetup/install/files/style/element/dl.scss @@ -70,6 +70,32 @@ dl { } } + &.floated > dd { + display: flex; + flex-wrap: wrap; + + > label { + flex: 0 0 auto; + margin: 0 10px 5px 0; + + &:last-child { + margin-right: 0; + } + + &:not(:first-child) { + margin-top: 0; + } + + + small:not(.innerError) { + margin-left: 0; + } + } + + small { + flex: 1 1 100%; + } + } + &.dataList { overflow: hidden;