Skip to content

Commit

Permalink
Fix a firefox specific error where buttons didn't show up correctly
Browse files Browse the repository at this point in the history
Padding for the text to shift it down needs to be lower on firefox than on chrome
  • Loading branch information
Gum-Joe committed Sep 23, 2021
1 parent 1c8ce7b commit 84a23fb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion frontend/src/scss/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,15 @@ button {
// Span I think is the button's actual contents
& > span { // = button > span
z-index: 2;
padding-top: 1px;
padding-top: 4px;

}

// Button text is too low on Firefox with 5px padding.
@-moz-document url-prefix() {
& > span {
padding-top: 1px !important;
}
}
}

Expand Down

0 comments on commit 84a23fb

Please sign in to comment.