Skip to content

Commit

Permalink
Issue #1088. Add pointer-events:none to non-button font icons.
Browse files Browse the repository at this point in the history
This is to prevent them from consuming the click event in Chrome,
which apparently doesn't bubble up to the parent <button>?
  • Loading branch information
Mike Taylor committed Jul 5, 2016
1 parent 318e0cf commit e98faea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webcompat/static/css/development/components/icon-font.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
vertical-align:middle;
}

.wc-Icon:not(button) {
pointer-events: none;
}

.wc-Icon--cloud-download:before {
content: "\f0ed";
}
Expand Down

0 comments on commit e98faea

Please sign in to comment.