Skip to content

Commit

Permalink
Suppress flexbox side effects in breadcrumb (twbs#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 authored and olsza committed Oct 3, 2020
1 parent 7f22395 commit 2e9e974
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-x;

&::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;
color: $breadcrumb-divider-color;
content: escape-svg($breadcrumb-divider);
Expand Down

0 comments on commit 2e9e974

Please sign in to comment.