aboutsummaryrefslogtreecommitdiff
path: root/less/type.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-02-22 12:20:53 -0800
committerMark Otto <[email protected]>2014-02-22 12:20:53 -0800
commit4ccf088a24b8c0f9694458c81d44514559712a65 (patch)
tree60a79f54e70487da7cea4ae27e1cbd5a4cb027e3 /less/type.less
parent49094844ac55a0e08d6d847b0e07868f8b639037 (diff)
parentb99be29f32f3db208b47bd33fbef1f63405ccfdc (diff)
downloadbootstrap-4ccf088a24b8c0f9694458c81d44514559712a65.tar.xz
bootstrap-4ccf088a24b8c0f9694458c81d44514559712a65.zip
Merge branch 'master' into pr/12813
Conflicts: dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css
Diffstat (limited to 'less/type.less')
-rw-r--r--less/type.less16
1 files changed, 10 insertions, 6 deletions
diff --git a/less/type.less b/less/type.less
index 5e2a21905..c63e5d9f2 100644
--- a/less/type.less
+++ b/less/type.less
@@ -141,7 +141,7 @@ cite { font-style: normal; }
// Lists
-// --------------------------------------------------
+// -------------------------
// Unordered and Ordered lists
ul,
@@ -195,8 +195,12 @@ dd {
// Defaults to being stacked without any of the below styles applied, until the
// grid breakpoint is reached (default of ~768px).
-@media (min-width: @grid-float-breakpoint) {
- .dl-horizontal {
+.dl-horizontal {
+ dd {
+ &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
+ }
+
+ @media (min-width: @grid-float-breakpoint) {
dt {
float: left;
width: (@component-offset-horizontal - 20);
@@ -206,13 +210,13 @@ dd {
}
dd {
margin-left: @component-offset-horizontal;
- &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present
}
}
}
-// MISC
-// ----
+
+// Misc
+// -------------------------
// Abbreviations and acronyms
abbr[title],