mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-28 15:50:01 +02:00
Fixes #13548: Use position: absolute; to fix checkbox and radio line-height problems that were introduced after #13003
This commit is contained in:
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
@@ -2401,6 +2401,7 @@ input[type="month"].input-lg {
|
||||
}
|
||||
.radio,
|
||||
.checkbox {
|
||||
position: relative;
|
||||
display: block;
|
||||
min-height: 20px;
|
||||
margin-top: 10px;
|
||||
@@ -2417,7 +2418,8 @@ input[type="month"].input-lg {
|
||||
.radio-inline input[type="radio"],
|
||||
.checkbox input[type="checkbox"],
|
||||
.checkbox-inline input[type="checkbox"] {
|
||||
float: left;
|
||||
position: absolute;
|
||||
margin-top: 4px \9;
|
||||
margin-left: -20px;
|
||||
}
|
||||
.radio + .radio,
|
||||
|
Reference in New Issue
Block a user