diff options
| author | Mark Otto <[email protected]> | 2012-03-31 23:53:54 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-03-31 23:53:54 -0700 |
| commit | d652af10971d79cde92336700e156c63ff2c0b24 (patch) | |
| tree | 0882f3941cee3cf7ea19fa03c7b3ccc402de8ccb /less | |
| parent | 452ddc0f0dd5cfd3bb867e17d603c98d6db2ec19 (diff) | |
| download | bootstrap-d652af10971d79cde92336700e156c63ff2c0b24.tar.xz bootstrap-d652af10971d79cde92336700e156c63ff2c0b24.zip | |
fix #2860: truncate .dl-horizontal terms and reset to stacked for <767px layouts
Diffstat (limited to 'less')
| -rw-r--r-- | less/responsive-767px-max.less | 15 | ||||
| -rw-r--r-- | less/type.less | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less index ba34b29a6..b2202b5b7 100644 --- a/less/responsive-767px-max.less +++ b/less/responsive-767px-max.less @@ -86,6 +86,21 @@ padding: 0; } + // TYPOGRAPHY + // ---------- + // Reset horizontal dl + .dl-horizontal { + dt { + float: none; + clear: none; + width: auto; + text-align: left; + } + dd { + margin-left: 0; + } + } + // GRID & CONTAINERS // ----------------- // Remove width from containers diff --git a/less/type.less b/less/type.less index 4e1407b85..779e85960 100644 --- a/less/type.less +++ b/less/type.less @@ -135,6 +135,7 @@ dd { // Horizontal layout (like forms) .dl-horizontal { dt { + .text-overflow(); float: left; clear: left; width: 120px; |
