From: Chris Rebert Date: Fri, 25 Dec 2015 04:26:24 +0000 (-0700) Subject: Remove .dl-horizontal; it's redundant to the grid system; fixes #18652 X-Git-Tag: v4.0.0-alpha.3~441^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c86e37c2d79c6d80e66079de9065d8f6603486b;p=thirdparty%2Fbootstrap.git Remove .dl-horizontal; it's redundant to the grid system; fixes #18652 [skip sauce] --- diff --git a/docs/content/typography.md b/docs/content/typography.md index 651e2c49c9..a028e5e1d2 100644 --- a/docs/content/typography.md +++ b/docs/content/typography.md @@ -215,12 +215,12 @@ Place all list items on a single line with `display: inline-block;` and some bas {% endexample %} -### Horizontal description +### Description list alignment Align terms and descriptions horizontally by using our grid system's predefined classes (or semantic mixins). For longer terms, you can optionally add a `.text-truncate` class to truncate the text with an ellipsis. {% example html %} -
+
Description lists
A description list is perfect for defining terms.
diff --git a/docs/migration.md b/docs/migration.md index d710d17683..76e29a253d 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -54,7 +54,7 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with - Moved all `.text-` utilities to the `_utilities.scss` file. - Dropped the `.page-header` class entirely. -- `.dl-horizontal` now requires grid classes, increasing flexbility in column widths. +- `.dl-horizontal` has been dropped. Instead, use `.row` on `
` and use grid column classes on its `
` and `
` children. - Custom `
` styling has moved to classes—`.blockquote` and the `.blockquote-reverse` modifier. ### Images diff --git a/scss/_type.scss b/scss/_type.scss index f770d20ed8..60f983aaf7 100644 --- a/scss/_type.scss +++ b/scss/_type.scss @@ -101,13 +101,6 @@ mark, } } -// Horizontal description lists w/ grid classes -.dl-horizontal { - margin-right: -$grid-gutter-width; - margin-left: -$grid-gutter-width; - @include clearfix; -} - // // Misc