From 097825da74ed866be5e3f85606ac5e5de6ab4a08 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 1 Dec 2017 14:34:51 +0100 Subject: [style] Fix checkbox/radio in input-group-addon, add missing label<->input refs --- style/default.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'style') diff --git a/style/default.css b/style/default.css index fc8d3af1..7273dba2 100644 --- a/style/default.css +++ b/style/default.css @@ -573,6 +573,18 @@ it only applies if they're in a container that has the checkbox class */ margin-top: 0; } +.input-group-addon > .checkbox, +.input-group-addon > .radio { + margin: 0; + line-height: normal; + text-align: left; +} + +.checkbox input[type="checkbox"] + label:empty, +.radio input[type="radio"] + label:empty { + padding: 0; +} + /* Hack to get ellipsis in containers without absolute width */ /* Use:
my text bla bla
*/ -- cgit v1.2.3-55-g7522