diff options
| author | Martijn Cuppens <[email protected]> | 2019-08-21 10:33:26 +0200 |
|---|---|---|
| committer | Martijn Cuppens <[email protected]> | 2019-08-22 08:10:44 +0200 |
| commit | 0aabaa209d8787b906dc13d0a2c67f55edd30687 (patch) | |
| tree | 9441d171a4f837398049d4fb7db7aa4ec79b4bb4 | |
| parent | 66e9ab3e4dd0a5fe501e8499e45bbd7488b80fd0 (diff) | |
| download | bootstrap-0aabaa209d8787b906dc13d0a2c67f55edd30687.tar.xz bootstrap-0aabaa209d8787b906dc13d0a2c67f55edd30687.zip | |
Drop nav divider mixin
| -rw-r--r-- | scss/_dropdown.scss | 5 | ||||
| -rw-r--r-- | scss/_mixins.scss | 1 | ||||
| -rw-r--r-- | scss/mixins/_nav-divider.scss | 10 | ||||
| -rw-r--r-- | site/content/docs/4.3/migration.md | 3 |
4 files changed, 6 insertions, 13 deletions
diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 70c07ab4b..4bfa8ac9d 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -113,7 +113,10 @@ // Dividers (basically an `<hr>`) within the dropdown .dropdown-divider { - @include nav-divider($dropdown-divider-bg, $dropdown-divider-margin-y); + height: 0; + margin: $dropdown-divider-margin-y 0; + overflow: hidden; + border-top: 1px solid $dropdown-divider-bg; } // Links, buttons, and more within the dropdown menu diff --git a/scss/_mixins.scss b/scss/_mixins.scss index ffee78ac2..aac26155f 100644 --- a/scss/_mixins.scss +++ b/scss/_mixins.scss @@ -27,7 +27,6 @@ @import "mixins/pagination"; @import "mixins/lists"; @import "mixins/list-group"; -@import "mixins/nav-divider"; @import "mixins/forms"; @import "mixins/table-row"; diff --git a/scss/mixins/_nav-divider.scss b/scss/mixins/_nav-divider.scss deleted file mode 100644 index 4fb37b622..000000000 --- a/scss/mixins/_nav-divider.scss +++ /dev/null @@ -1,10 +0,0 @@ -// Horizontal dividers -// -// Dividers (basically an hr) within dropdowns and nav lists - -@mixin nav-divider($color: $nav-divider-color, $margin-y: $nav-divider-margin-y) { - height: 0; - margin: $margin-y 0; - overflow: hidden; - border-top: 1px solid $color; -} diff --git a/site/content/docs/4.3/migration.md b/site/content/docs/4.3/migration.md index dd98b6adc..b530421b6 100644 --- a/site/content/docs/4.3/migration.md +++ b/site/content/docs/4.3/migration.md @@ -23,9 +23,10 @@ See the browser and devices page for details on what is currently supported in B Changes to our source Sass files and compiled CSS. - Removed `hover`, `hover-focus`, `plain-hover-focus`, and `hover-focus-active` mixins. Use regular CSS syntax for these moving forward. [See #28267](https://github.com/twbs/bootstrap/pull/28267). -- **Todo:** Remove previously deprecated mixins +- Remove previously deprecated mixins - `float()` - `form-control-mixin()` + - `nav-divider()` - `retina-img()` - `text-hide()` (also dropped the associated utility class, `.text-hide`) - `visibility()` |
