1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 20:31:26 +02: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
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