From 9be2bbb5efdc09eb5446719daa8ac892b93f2ede Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 6 Jul 2014 16:48:41 -0700 Subject: Fixes #14053: Don't show radio/checkbox in justified button groups --- less/button-groups.less | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'less') diff --git a/less/button-groups.less b/less/button-groups.less index 7021ecd17..c2e2260f0 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -232,9 +232,14 @@ // // See https://github.com/twbs/bootstrap/pull/12794 for more. -[data-toggle="buttons"] > .btn > input[type="radio"], -[data-toggle="buttons"] > .btn > input[type="checkbox"] { - position: absolute; - z-index: -1; - .opacity(0); +[data-toggle="buttons"] { + > .btn, + > .btn-group > .btn { + input[type="radio"], + input[type="checkbox"] { + position: absolute; + z-index: -1; + .opacity(0); + } + } } -- cgit v1.2.3