Skip to content

Commit 0aabaa2

Browse files
Drop nav divider mixin
1 parent 66e9ab3 commit 0aabaa2

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

scss/_dropdown.scss

+4-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@
113113

114114
// Dividers (basically an `<hr>`) within the dropdown
115115
.dropdown-divider {
116-
@include nav-divider($dropdown-divider-bg, $dropdown-divider-margin-y);
116+
height: 0;
117+
margin: $dropdown-divider-margin-y 0;
118+
overflow: hidden;
119+
border-top: 1px solid $dropdown-divider-bg;
117120
}
118121

119122
// Links, buttons, and more within the dropdown menu

scss/_mixins.scss

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
@import "mixins/pagination";
2828
@import "mixins/lists";
2929
@import "mixins/list-group";
30-
@import "mixins/nav-divider";
3130
@import "mixins/forms";
3231
@import "mixins/table-row";
3332

scss/mixins/_nav-divider.scss

-10
This file was deleted.

site/content/docs/4.3/migration.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ See the browser and devices page for details on what is currently supported in B
2323
Changes to our source Sass files and compiled CSS.
2424

2525
- 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).
26-
- **Todo:** Remove previously deprecated mixins
26+
- Remove previously deprecated mixins
2727
- `float()`
2828
- `form-control-mixin()`
29+
- `nav-divider()`
2930
- `retina-img()`
3031
- `text-hide()` (also dropped the associated utility class, `.text-hide`)
3132
- `visibility()`

0 commit comments

Comments
 (0)