0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Merge pull request #13860 from twbs/fixes_13346

Add a variable for .dl-horizontal's offset
This commit is contained in:
Mark Otto 2014-06-18 22:23:42 -07:00
commit 4c21146ce3
2 changed files with 4 additions and 2 deletions

View File

@ -219,13 +219,13 @@ dd {
@media (min-width: @grid-float-breakpoint) { @media (min-width: @grid-float-breakpoint) {
dt { dt {
float: left; float: left;
width: (@component-offset-horizontal - 20); width: (@dl-horizontal-offset - 20);
clear: left; clear: left;
text-align: right; text-align: right;
.text-overflow(); .text-overflow();
} }
dd { dd {
margin-left: @component-offset-horizontal; margin-left: @dl-horizontal-offset;
} }
} }
} }

View File

@ -836,6 +836,8 @@
@blockquote-border-color: @gray-lighter; @blockquote-border-color: @gray-lighter;
//** Page header border color //** Page header border color
@page-header-border-color: @gray-lighter; @page-header-border-color: @gray-lighter;
//** Width of horizontal description list titles
@dl-horizontal-offset: @component-offset-horizontal;
//== Miscellaneous //== Miscellaneous