Skip to content

Commit f7af121

Browse files
committed
Use explicit font styling for all elements
1 parent 0f2b582 commit f7af121

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/react-calendar/src/Calendar.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@
6363
.react-calendar__month-view__weekdays {
6464
text-align: center;
6565
text-transform: uppercase;
66-
font-weight: bold;
66+
font: inherit;
6767
font-size: 0.75em;
68+
font-weight: bold;
6869
}
6970

7071
.react-calendar__month-view__weekdays__weekday {
@@ -75,6 +76,7 @@
7576
display: flex;
7677
align-items: center;
7778
justify-content: center;
79+
font: inherit;
7880
font-size: 0.75em;
7981
font-weight: bold;
8082
}
@@ -99,6 +101,8 @@
99101
background: none;
100102
text-align: center;
101103
line-height: 16px;
104+
font: inherit;
105+
font-size: 0.833em;
102106
}
103107

104108
.react-calendar__tile:disabled {

0 commit comments

Comments
 (0)