From ccf971d860a164e6c110bda012a7577d807ad7af Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 6 Feb 2016 20:01:37 -0800 Subject: [PATCH] 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 --- docs/content/typography.md | 6 +++--- scss/_type.scss | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) 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