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 Jun 30, 2016
1 parent e5bad88 commit 6b71bf5
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 6b71bf5

Please sign in to comment.