aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-06-18 21:52:34 -0700
committerMark Otto <[email protected]>2014-06-18 21:52:34 -0700
commitc7cd63107b551ddb8fe201340f1fa9cbe97f8af0 (patch)
tree412a818756e3cf465e738946c0e8da883977b27b /less
parentf4dd02f531f21207a29ffd966081e1a824155706 (diff)
downloadbootstrap-c7cd63107b551ddb8fe201340f1fa9cbe97f8af0.tar.xz
bootstrap-c7cd63107b551ddb8fe201340f1fa9cbe97f8af0.zip
fixes #13346: add a variable for .dl-horizontal's offset
Diffstat (limited to 'less')
-rw-r--r--less/type.less4
-rw-r--r--less/variables.less2
2 files changed, 4 insertions, 2 deletions
diff --git a/less/type.less b/less/type.less
index 93414474a..5eb69f3c2 100644
--- a/less/type.less
+++ b/less/type.less
@@ -219,13 +219,13 @@ dd {
@media (min-width: @grid-float-breakpoint) {
dt {
float: left;
- width: (@component-offset-horizontal - 20);
+ width: (@dl-horizontal-offset - 20);
clear: left;
text-align: right;
.text-overflow();
}
dd {
- margin-left: @component-offset-horizontal;
+ margin-left: @dl-horizontal-offset;
}
}
}
diff --git a/less/variables.less b/less/variables.less
index c6edad147..2f339fb41 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -836,6 +836,8 @@
@blockquote-border-color: @gray-lighter;
//** Page header border color
@page-header-border-color: @gray-lighter;
+//** Width of horizontal description list titles
+@dl-horizontal-offset: @component-offset-horizontal;
//== Miscellaneous