mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
fixes #4506: clearfix added to .dl-horizontal to account for empty dd elements
This commit is contained in:
parent
cfa039d2e0
commit
f15eb7b499
15
docs/assets/css/bootstrap.css
vendored
15
docs/assets/css/bootstrap.css
vendored
@ -725,6 +725,21 @@ dd {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.dl-horizontal {
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.dl-horizontal:before,
|
||||
.dl-horizontal:after {
|
||||
display: table;
|
||||
line-height: 0;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.dl-horizontal:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dl-horizontal dt {
|
||||
float: left;
|
||||
width: 120px;
|
||||
|
@ -116,6 +116,7 @@ dd {
|
||||
}
|
||||
// Horizontal layout (like forms)
|
||||
.dl-horizontal {
|
||||
.clearfix(); // Ensure dl clears floats if empty dd elements present
|
||||
dt {
|
||||
float: left;
|
||||
width: 120px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user