diff options
| author | Mark Otto <[email protected]> | 2014-07-06 16:48:41 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-06 16:48:41 -0700 |
| commit | 9be2bbb5efdc09eb5446719daa8ac892b93f2ede (patch) | |
| tree | 65f76466b6cd4b1e6e17f7cdebcf517e94a1acaa /less/button-groups.less | |
| parent | 44f83fff90fc7b12961f6d7bdb92a7e1b869c306 (diff) | |
| download | bootstrap-9be2bbb5efdc09eb5446719daa8ac892b93f2ede.tar.xz bootstrap-9be2bbb5efdc09eb5446719daa8ac892b93f2ede.zip | |
Fixes #14053: Don't show radio/checkbox in justified button groups
Diffstat (limited to 'less/button-groups.less')
| -rw-r--r-- | less/button-groups.less | 15 |
1 files changed, 10 insertions, 5 deletions
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); + } + } } |
