From: Mark Otto Date: Sun, 7 Feb 2016 04:01:37 +0000 (-0800) Subject: Fixes #17969: Clear horizontal dls X-Git-Tag: v4.0.0-alpha.3~288^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccf971d860a164e6c110bda012a7577d807ad7af;p=thirdparty%2Fbootstrap.git Fixes #17969: Clear horizontal dls - Using the grid classes, they still need clearfixes since rows aren't injected between them all - Update docs to fix broken classes --- diff --git a/docs/content/typography.md b/docs/content/typography.md index 2c0207375e..0c6d53aa2e 100644 --- a/docs/content/typography.md +++ b/docs/content/typography.md @@ -232,7 +232,7 @@ Align terms and descriptions horizontally by using our grid system's predefined
Euismod
Vestibulum id ligula porta felis euismod semper eget lacinia odio sem nec elit.
-
Donec id elit non mi porta gravida at eget metus.
+
Donec id elit non mi porta gravida at eget metus.
Malesuada porta
Etiam porta sem malesuada magna mollis euismod.
@@ -243,8 +243,8 @@ Align terms and descriptions horizontally by using our grid system's predefined
Nesting
-
Nested definition list
-
Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc.
+
Nested definition list
+
Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc.
diff --git a/scss/_type.scss b/scss/_type.scss index 9fe8194db5..f29ef493d6 100644 --- a/scss/_type.scss +++ b/scss/_type.scss @@ -137,3 +137,12 @@ mark, content: "\00A0 \2014"; // nbsp, em dash } } + +// Clean up some horizontal `
`s built with grids +// scss-lint:disable QualifyingElement +dl.row { + > dd + dt { + clear: left; + } +} +// scss-lint:enable QualifyingElement