Commit 9be2bbb5 authored by Mark Otto's avatar Mark Otto

Fixes #14053: Don't show radio/checkbox in justified button groups

parent 44f83fff
...@@ -3427,8 +3427,10 @@ tbody.collapse.in { ...@@ -3427,8 +3427,10 @@ tbody.collapse.in {
.btn-group-justified > .btn-group .dropdown-menu { .btn-group-justified > .btn-group .dropdown-menu {
left: auto; left: auto;
} }
[data-toggle="buttons"] > .btn > input[type="radio"], [data-toggle="buttons"] > .btn input[type="radio"],
[data-toggle="buttons"] > .btn > input[type="checkbox"] { [data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
[data-toggle="buttons"] > .btn input[type="checkbox"],
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
position: absolute; position: absolute;
z-index: -1; z-index: -1;
filter: alpha(opacity=0); filter: alpha(opacity=0);
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3427,8 +3427,10 @@ tbody.collapse.in { ...@@ -3427,8 +3427,10 @@ tbody.collapse.in {
.btn-group-justified > .btn-group .dropdown-menu { .btn-group-justified > .btn-group .dropdown-menu {
left: auto; left: auto;
} }
[data-toggle="buttons"] > .btn > input[type="radio"], [data-toggle="buttons"] > .btn input[type="radio"],
[data-toggle="buttons"] > .btn > input[type="checkbox"] { [data-toggle="buttons"] > .btn-group > .btn input[type="radio"],
[data-toggle="buttons"] > .btn input[type="checkbox"],
[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] {
position: absolute; position: absolute;
z-index: -1; z-index: -1;
filter: alpha(opacity=0); filter: alpha(opacity=0);
......
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -232,9 +232,14 @@ ...@@ -232,9 +232,14 @@
// //
// See https://github.com/twbs/bootstrap/pull/12794 for more. // See https://github.com/twbs/bootstrap/pull/12794 for more.
[data-toggle="buttons"] > .btn > input[type="radio"], [data-toggle="buttons"] {
[data-toggle="buttons"] > .btn > input[type="checkbox"] { > .btn,
> .btn-group > .btn {
input[type="radio"],
input[type="checkbox"] {
position: absolute; position: absolute;
z-index: -1; z-index: -1;
.opacity(0); .opacity(0);
}
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment