Skip to content

Commit

Permalink
Merge pull request twbs#16563 from dbkaplun/dl-horizontal-breakpoint
Browse files Browse the repository at this point in the history
Adds @dl-horizontal-breakpoint
  • Loading branch information
mdo committed Jun 18, 2015
2 parents 344dafb + 78bdbcd commit 5ea03fa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/_includes/customizer-variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -1878,6 +1878,11 @@ <h2 id="type">Type</h2>
<p id="help-block-@dl-horizontal-offset" class="help-block">Width of horizontal description list titles</p>
</div>
<div class="clearfix"></div>
<div class="col-xs-4">
<label for="input-@dl-horizontal-breakpoint">@dl-horizontal-breakpoint</label>
<input id="input-@dl-horizontal-breakpoint" type="text" aria-describedby="help-block-@dl-horizontal-breakpoint" value="@grid-float-breakpoint" data-var="@dl-horizontal-breakpoint" class="form-control"/>
<p id="help-block-@dl-horizontal-breakpoint" class="help-block">Point at which .dl-horizontal becomes horizontal</p>
</div>
<div class="col-xs-4">
<label for="input-@hr-border">@hr-border</label>
<input id="input-@hr-border" type="text" aria-describedby="help-block-@hr-border" value="@gray-lighter" data-var="@hr-border" class="form-control"/>
Expand Down
2 changes: 1 addition & 1 deletion less/type.less
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ dd {
&:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
}

@media (min-width: @grid-float-breakpoint) {
@media (min-width: @dl-horizontal-breakpoint) {
dt {
float: left;
width: (@dl-horizontal-offset - 20);
Expand Down
2 changes: 2 additions & 0 deletions less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -863,5 +863,7 @@
@page-header-border-color: @gray-lighter;
//** Width of horizontal description list titles
@dl-horizontal-offset: @component-offset-horizontal;
//** Point at which .dl-horizontal becomes horizontal
@dl-horizontal-breakpoint: @grid-float-breakpoint;
//** Horizontal line color.
@hr-border: @gray-lighter;

0 comments on commit 5ea03fa

Please sign in to comment.