Skip to content

Commit

Permalink
Merge pull request #74 from Brightspace/fix-button-borders
Browse files Browse the repository at this point in the history
Remove Firefox hidden button border
  • Loading branch information
awikkerink authored Sep 26, 2016
2 parents 5ef474e + 452cf9a commit 0ca8f11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions d2l-button.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
width: auto;
@apply(--d2l-button);
}
/* Firefox includes a hidden border which messes up button dimensions */
:host(::-moz-focus-inner) {
border: 0;
}
:host, :host([disabled]:hover), :host([disabled]:focus) {
background-color: var(--d2l-color-woolonardo);
border-color: var(--d2l-color-titanius);
Expand Down

0 comments on commit 0ca8f11

Please sign in to comment.