aboutsummaryrefslogtreecommitdiff
path: root/less/button-groups.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/button-groups.less')
-rw-r--r--less/button-groups.less19
1 files changed, 14 insertions, 5 deletions
diff --git a/less/button-groups.less b/less/button-groups.less
index ef11cf12a..c2e2260f0 100644
--- a/less/button-groups.less
+++ b/less/button-groups.less
@@ -216,6 +216,10 @@
> .btn-group .btn {
width: 100%;
}
+
+ > .btn-group .dropdown-menu {
+ left: auto;
+ }
}
@@ -228,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);
+ }
+ }
}