From b99be29f32f3db208b47bd33fbef1f63405ccfdc Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 22 Feb 2014 12:13:11 -0800 Subject: Fixes #12756: Ensure horizontal dls are cleared by moving the clearfix out of the media query --- less/type.less | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'less/type.less') 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], -- cgit v1.2.3 From d1d5d9041365c92b5e5577d2133a26fe509223e8 Mon Sep 17 00:00:00 2001 From: mrmrs Date: Fri, 7 Mar 2014 00:10:46 -0800 Subject: Fixes #12748 --- less/type.less | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index c63e5d9f2..91298f1c0 100644 --- a/less/type.less +++ b/less/type.less @@ -81,6 +81,12 @@ small, // Undo browser default styling cite { font-style: normal; } +mark, +.mark { + background-color: @state-warning-bg; + padding: .2em; +} + // Alignment .text-left { text-align: left; } .text-right { text-align: right; } -- cgit v1.2.3