mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-17 14:54:30 +01:00
Suppress flexbox side effects in breadcrumb (#31700)
* Suppress flexbox side effects * Trailing whitesapce Co-authored-by: Mark Otto <markd.otto@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
cef7e4d6e8
commit
cda9278f49
@ -10,14 +10,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb-item {
|
.breadcrumb-item {
|
||||||
display: flex;
|
|
||||||
|
|
||||||
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
// The separator between breadcrumbs (by default, a forward-slash: "/")
|
||||||
+ .breadcrumb-item {
|
+ .breadcrumb-item {
|
||||||
padding-left: $breadcrumb-item-padding-x;
|
padding-left: $breadcrumb-item-padding-x;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
display: inline-block; // Suppress underlining of the separator
|
float: left; // Suppress inline spacings and underlining of the separator
|
||||||
padding-right: $breadcrumb-item-padding-x;
|
padding-right: $breadcrumb-item-padding-x;
|
||||||
color: $breadcrumb-divider-color;
|
color: $breadcrumb-divider-color;
|
||||||
content: escape-svg($breadcrumb-divider);
|
content: escape-svg($breadcrumb-divider);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user