diff options
| author | Mark Otto <[email protected]> | 2014-06-18 22:23:42 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-06-18 22:23:42 -0700 |
| commit | 4c21146ce32ebdbea691484c49b2dfdd6b8efb78 (patch) | |
| tree | 6971951968071d794e2f871590abfde26681ccf1 | |
| parent | 02642350f807c1431e686f03a97c0067fc0a2b51 (diff) | |
| parent | c7cd63107b551ddb8fe201340f1fa9cbe97f8af0 (diff) | |
| download | bootstrap-4c21146ce32ebdbea691484c49b2dfdd6b8efb78.tar.xz bootstrap-4c21146ce32ebdbea691484c49b2dfdd6b8efb78.zip | |
Merge pull request #13860 from twbs/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 |
