]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Revert "Remove IE-specific breadcrumb CSS hack"
authorXhmikosR <xhmikosr@gmail.com>
Sat, 16 Mar 2019 17:13:47 +0000 (19:13 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 17 Mar 2019 23:11:05 +0000 (01:11 +0200)
This reverts commit 9fda96e197abc9eba24962443ed79bc11fef485c.

scss/_breadcrumb.scss

index dd856bbed7fbd79a8d6e2fba0d871351d79ca0f4..38f668153bcb4bd66c8aecddd30d5160c1c6bfbe 100644 (file)
     }
   }
 
+  // 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;
   }