Skip to content

Commit 5bb87c5

Browse files
committed
Fix font for some elements in Firefox
1 parent 463c363 commit 5bb87c5

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

app/src/client/components/common/Button.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.button {
66
position: relative;
77
overflow: visible; /* Fixes tooltips visibility in IE */
8+
font-family: inherit;
89
font-size: 1.4rem;
910
line-height: 2rem;
1011
cursor: pointer;
@@ -32,6 +33,7 @@
3233
}
3334

3435
&::-moz-focus-inner {
36+
padding: 0;
3537
border: 0;
3638
}
3739

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.input {
22
margin: 0; /* Safari add extra margin */
3+
font-family: inherit;
34
}

app/src/client/components/common/Select.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
@mixin text-like-input .select;
66

7+
.select {
8+
font-family: inherit;
9+
}
10+
711
@each $theme in $themes {
812
.$theme .select:--focus-like:-moz-focusring {
913
color: transparent;

0 commit comments

Comments
 (0)