Skip to content

Commit

Permalink
Set height of <select> as workaround for Firefox (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkemper authored Jan 29, 2018
1 parent bf8950a commit 3fb9fea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/Select/Select.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
}
}

// Firefox doesn't respect line-height of <select>
// @see https://bugzilla.mozilla.org/show_bug.cgi?id=1241167
@-moz-document url-prefix() {
.Input {
height: rem(36);
}
}

.Dropdown {
position: absolute;
z-index: 1;
Expand Down

0 comments on commit 3fb9fea

Please sign in to comment.