Remove IE-specific breadcrumb CSS hack

This commit is contained in:
Mark Otto 2018-09-17 15:29:54 -07:00 committed by XhmikosR
parent 2b8eebb4b8
commit 9fda96e197

View File

@ -21,16 +21,6 @@
}
}
// IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
// without `<ul>`s. The `::before` pseudo-element generates an element
// *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
//
// To trick IE into suppressing the underline, we give the pseudo-element an
// underline and then immediately remove it.
+ .breadcrumb-item:hover::before {
text-decoration: underline;
}
// stylelint-disable-next-line no-duplicate-selectors
+ .breadcrumb-item:hover::before {
text-decoration: none;
}