Commit f15eb7b4 authored by Mark Otto's avatar Mark Otto
Browse files

fixes #4506: clearfix added to .dl-horizontal to account for empty dd elements

parent cfa039d2
3 merge requests!4855Solved bug in bootstrap tooltip when entering and leaving quickly,!4830Tabs should generate hide events,!4789Typeahead. Added the ability to process serializable Objects as items from given source (According to guidelines )
Showing with 16 additions and 0 deletions
+16 -0
...@@ -725,6 +725,21 @@ dd { ...@@ -725,6 +725,21 @@ dd {
margin-left: 10px; 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 { .dl-horizontal dt {
float: left; float: left;
width: 120px; width: 120px;
......
...@@ -116,6 +116,7 @@ dd { ...@@ -116,6 +116,7 @@ dd {
} }
// Horizontal layout (like forms) // Horizontal layout (like forms)
.dl-horizontal { .dl-horizontal {
.clearfix(); // Ensure dl clears floats if empty dd elements present
dt { dt {
float: left; float: left;
width: 120px; width: 120px;
......
Supports Markdown
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