aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/assets/css/bootstrap.css15
-rw-r--r--less/type.less1
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index c01aa8c36..c935c084c 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -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;
diff --git a/less/type.less b/less/type.less
index 58723f788..5557b7e4a 100644
--- a/less/type.less
+++ b/less/type.less
@@ -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;