From 0170f03e103243427b2c3fef400e633f54863e84 Mon Sep 17 00:00:00 2001 From: Chukwumdiebube Date: Sat, 4 Feb 2023 06:14:07 +0100 Subject: [PATCH] calender size formatted --- src/components/Calendar/CalendarTable.jsx | 2 +- src/index.css | 35 +++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/src/components/Calendar/CalendarTable.jsx b/src/components/Calendar/CalendarTable.jsx index 32c0555..90713f8 100755 --- a/src/components/Calendar/CalendarTable.jsx +++ b/src/components/Calendar/CalendarTable.jsx @@ -34,7 +34,7 @@ export default function CalendarTable({ className }) {
- +
diff --git a/src/index.css b/src/index.css index 8526655..d422148 100755 --- a/src/index.css +++ b/src/index.css @@ -670,3 +670,38 @@ TODO: Responsive =========================== @apply mb-2; } } + +/* Calendar */ +.react-calendar{ + width: 100%; + min-height: 23.2rem; + border-radius: 7px !important; +} + +.react-calendar__navigation{ + margin-top: 2px; + margin-inline: 2px; +} + +.react-calendar__navigation button:enabled:hover, +.react-calendar__navigation button:enabled:focus{ + @apply rounded-full transition duration-500 +} + +.react-calendar__month-view__days{ + display: grid !important; + grid-template-columns: repeat(7, 1fr); +} + +.react-calendar__month-view__weekdays__weekday abbr:where([title]){ + text-decoration: none !important; + cursor: default; +} + +.react-calendar__tile{ + border: 1px solid #cfd7e3 !important; + border-left: 0; + text-align: right; + height: 4.813rem !important; + transition: all 500ms; +} -- 2.34.1