Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
9e1ef562
Commit
9e1ef562
authored
5 years ago
by
Martijn Cuppens
Browse files
Options
Download
Email Patches
Plain Diff
Deprecate nav-divider() mixin
parent
9519b9e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_dropdown.scss
+1
-1
scss/_dropdown.scss
scss/mixins/_nav-divider.scss
+2
-1
scss/mixins/_nav-divider.scss
with
3 additions
and
2 deletions
+3
-2
scss/_dropdown.scss
+
1
-
1
View file @
9e1ef562
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
// Dividers (basically an `<hr>`) within the dropdown
// Dividers (basically an `<hr>`) within the dropdown
.dropdown-divider
{
.dropdown-divider
{
@include
nav-divider
(
$dropdown-divider-bg
,
$dropdown-divider-margin-y
);
@include
nav-divider
(
$dropdown-divider-bg
,
$dropdown-divider-margin-y
,
true
);
}
}
// Links, buttons, and more within the dropdown menu
// Links, buttons, and more within the dropdown menu
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_nav-divider.scss
+
2
-
1
View file @
9e1ef562
...
@@ -2,9 +2,10 @@
...
@@ -2,9 +2,10 @@
//
//
// Dividers (basically an hr) within dropdowns and nav lists
// Dividers (basically an hr) within dropdowns and nav lists
@mixin
nav-divider
(
$color
:
$nav-divider-color
,
$margin-y
:
$nav-divider-margin-y
)
{
@mixin
nav-divider
(
$color
:
$nav-divider-color
,
$margin-y
:
$nav-divider-margin-y
,
$ignore-warning
:
false
)
{
height
:
0
;
height
:
0
;
margin
:
$margin-y
0
;
margin
:
$margin-y
0
;
overflow
:
hidden
;
overflow
:
hidden
;
border-top
:
1px
solid
$color
;
border-top
:
1px
solid
$color
;
@include
deprecate
(
"The `nav-divider()` mixin"
,
"v4.4.0"
,
"v5"
,
$ignore-warning
);
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment