diff options
| author | Mark Otto <[email protected]> | 2014-12-11 14:12:10 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-12-11 14:12:10 -0800 |
| commit | 3737cb1d46418203bae2b01de1cacefe91df741c (patch) | |
| tree | 531687158ae982205a51ad34d867aa7f105e1721 /scss/_type.scss | |
| parent | 8ba213c9aa0ee78185588758f021a38b0367cbee (diff) | |
| download | bootstrap-3737cb1d46418203bae2b01de1cacefe91df741c.tar.xz bootstrap-3737cb1d46418203bae2b01de1cacefe91df741c.zip | |
Use grid classes or mixins on .dl-horizontal, update docs to include it, removes auto truncate and makes .text-overflow mixin into a .text-truncate class and mixin combo for better granularity
Diffstat (limited to 'scss/_type.scss')
| -rw-r--r-- | scss/_type.scss | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/scss/_type.scss b/scss/_type.scss index f1f512fae..c01095356 100644 --- a/scss/_type.scss +++ b/scss/_type.scss @@ -142,28 +142,11 @@ dd { margin-left: 0; // Undo browser default } -// Horizontal description lists -// -// Defaults to being stacked without any of the below styles applied, until the -// grid breakpoint is reached (default of ~768px). - +// Horizontal description lists w/ grid classes .dl-horizontal { - dd { - @include clearfix(); // Clear the floated `dt` if an empty `dd` is present - } - - @media (min-width: $grid-float-breakpoint) { - dt { - float: left; - width: ($dl-horizontal-offset - 20); - clear: left; - text-align: right; - @include text-overflow(); - } - dd { - margin-left: $dl-horizontal-offset; - } - } + margin-right: -$grid-gutter-width; + margin-left: -$grid-gutter-width; + @include clearfix; } |
