Skip to content

Commit

Permalink
Update: Added pointer-events: none to .navbar-text-truncate, `.br…
Browse files Browse the repository at this point in the history
…eadcrumb-text-truncate`, and `.lexicon-icon` to prevent focus highlight in IE11 when clicking links that contain those elements
  • Loading branch information
pat270 authored and jbalsas committed Jan 15, 2018
1 parent bcc576f commit 0bec132
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clay/src/scss/components/_breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
.breadcrumb-text-truncate {
display: inline-block;
max-width: $breadcrumb-text-truncate-max-width;
pointer-events: none;

@include text-truncate;

Expand Down
1 change: 1 addition & 0 deletions packages/clay/src/scss/components/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
fill: currentColor;
height: $lexicon-icon-size;
margin-top: -3px;
pointer-events: none;
vertical-align: middle;
width: $lexicon-icon-size;
}
Expand Down
1 change: 1 addition & 0 deletions packages/clay/src/scss/components/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
.navbar-text-truncate {
display: inline-block;
max-width: 100%;
pointer-events: none;

@include text-truncate;

Expand Down

0 comments on commit 0bec132

Please sign in to comment.