Skip to content

Commit

Permalink
Remove underline hack for breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens authored and XhmikosR committed Mar 18, 2020
1 parent 89d90d1 commit 910d481
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scss/_breadcrumb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@
padding-left: $breadcrumb-item-padding-x;

&::before {
display: inline-block; // Suppress underlining of the separator in modern browsers
display: inline-block; // Suppress underlining of the separator
padding-right: $breadcrumb-item-padding-x;
color: $breadcrumb-divider-color;
content: escape-svg($breadcrumb-divider);
}
}

+ .breadcrumb-item:hover::before {
text-decoration: none;
}

&.active {
color: $breadcrumb-active-color;
}
Expand Down

0 comments on commit 910d481

Please sign in to comment.