From 115632301fe538f20a52fc6066e1cb9317116b18 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 12 Jul 2018 19:13:32 +0200 Subject: [PATCH] Add support for floated (radiobutton) form field See #2509 --- wcfsetup/install/files/style/element/dl.scss | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) 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; -- 2.20.1