diff options
| author | Mark Otto <[email protected]> | 2014-06-18 21:52:34 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-06-18 21:52:34 -0700 |
| commit | c7cd63107b551ddb8fe201340f1fa9cbe97f8af0 (patch) | |
| tree | 412a818756e3cf465e738946c0e8da883977b27b | |
| parent | f4dd02f531f21207a29ffd966081e1a824155706 (diff) | |
| download | bootstrap-c7cd63107b551ddb8fe201340f1fa9cbe97f8af0.tar.xz bootstrap-c7cd63107b551ddb8fe201340f1fa9cbe97f8af0.zip | |
fixes #13346: add a variable for .dl-horizontal's offset
| -rw-r--r-- | less/type.less | 4 | ||||
| -rw-r--r-- | less/variables.less | 2 |
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 |
