From f7af1215a1117f3c51f321ff9aa0f3b2a5c74ec9 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Mon, 25 Sep 2023 10:31:55 +0200 Subject: [PATCH] Use explicit font styling for all elements --- packages/react-calendar/src/Calendar.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/react-calendar/src/Calendar.css b/packages/react-calendar/src/Calendar.css index a3a42c40..8a4c8717 100644 --- a/packages/react-calendar/src/Calendar.css +++ b/packages/react-calendar/src/Calendar.css @@ -63,8 +63,9 @@ .react-calendar__month-view__weekdays { text-align: center; text-transform: uppercase; - font-weight: bold; + font: inherit; font-size: 0.75em; + font-weight: bold; } .react-calendar__month-view__weekdays__weekday { @@ -75,6 +76,7 @@ display: flex; align-items: center; justify-content: center; + font: inherit; font-size: 0.75em; font-weight: bold; } @@ -99,6 +101,8 @@ background: none; text-align: center; line-height: 16px; + font: inherit; + font-size: 0.833em; } .react-calendar__tile:disabled {