Skip to content

Commit

Permalink
Suppress flexbox side effects in breadcrumb (#31700)
Browse files Browse the repository at this point in the history
* Suppress flexbox side effects

* Trailing whitesapce

Co-authored-by: Mark Otto <markd.otto@gmail.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
3 people committed Oct 27, 2020
1 parent 91129f1 commit 79928ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scss/_breadcrumb.scss
Expand Up @@ -10,14 +10,12 @@
}

.breadcrumb-item {
display: flex;

// The separator between breadcrumbs (by default, a forward-slash: "/")
+ .breadcrumb-item {
padding-left: $breadcrumb-item-padding;

&::before {
display: inline-block; // Suppress underlining of the separator in modern browsers
float: left; // Suppress inline spacings and underlining of the separator
padding-right: $breadcrumb-item-padding;
color: $breadcrumb-divider-color;
content: escape-svg($breadcrumb-divider);
Expand Down

0 comments on commit 79928ef

Please sign in to comment.