diff options
| author | Mark Otto <[email protected]> | 2015-06-18 16:06:39 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-06-18 16:06:39 -0700 |
| commit | 5ea03fa259ccac4c7ea72f0a19b57f77957fe55d (patch) | |
| tree | 1602929585e76f7c33d062a4346f72fbf76b43fd | |
| parent | 344dafbab90202cfe2ff52396374113d8c69a50a (diff) | |
| parent | 78bdbcdc0858efc57273da6f0d3f772076919e2f (diff) | |
| download | bootstrap-5ea03fa259ccac4c7ea72f0a19b57f77957fe55d.tar.xz bootstrap-5ea03fa259ccac4c7ea72f0a19b57f77957fe55d.zip | |
Merge pull request #16563 from dbkaplun/dl-horizontal-breakpoint
Adds @dl-horizontal-breakpoint
| -rw-r--r-- | docs/_includes/customizer-variables.html | 5 | ||||
| -rw-r--r-- | less/type.less | 2 | ||||
| -rw-r--r-- | less/variables.less | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/docs/_includes/customizer-variables.html b/docs/_includes/customizer-variables.html index 4dde831cb..c260b90d2 100644 --- a/docs/_includes/customizer-variables.html +++ b/docs/_includes/customizer-variables.html @@ -1879,6 +1879,11 @@ </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"/> <p id="help-block-@hr-border" class="help-block">Horizontal line color.</p> diff --git a/less/type.less b/less/type.less index 68ba6017b..0d4fee484 100644 --- a/less/type.less +++ b/less/type.less @@ -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); diff --git a/less/variables.less b/less/variables.less index c1861a8e0..b057ef5bf 100644 --- a/less/variables.less +++ b/less/variables.less @@ -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; |
