Compare commits

...

1 Commits

Author SHA1 Message Date
victorAnumudu 3fe29accbf Added styling to calendar page 2023-02-16 16:45:48 +01:00
2 changed files with 11 additions and 4 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ export default function CalendarTable({ className }) {
return (
<div
className={`update-table w-full p-8 bg-white dark:bg-dark-white overflow-hidden rounded-2xl section-shadow min-h-[620px] ${
className={`update-table w-full p-8 bg-white dark:bg-dark-white overflow-hidden rounded-2xl section-shadow min-h-[800px] ${
className || ""
}`}
>
@@ -41,4 +41,4 @@ export default function CalendarTable({ className }) {
</div>
);
}
}
+9 -2
View File
@@ -684,6 +684,7 @@ TODO: Responsive ===========================
width: 100%;
min-height: 23.2rem;
border-radius: 7px !important;
@apply border border-pink !important;
}
.dark .react-calendar{
@@ -699,9 +700,13 @@ TODO: Responsive ===========================
.react-calendar__navigation{
margin-top: 2px;
margin-inline: 2px;
@apply text-pink !important;
}
.react-calendar__tile--active{color: #fff; font-weight: bold; background-color: #006edc;}
.react-calendar__tile--active{color: #fff; font-weight: bold;
/* background-color: #006edc; */
@apply bg-pink;
}
.dark .react-calendar__tile--active{color: #fff;}
.react-calendar__navigation button:enabled:hover,
@@ -717,14 +722,16 @@ TODO: Responsive ===========================
.react-calendar__month-view__weekdays__weekday abbr:where([title]){
text-decoration: none !important;
cursor: default;
@apply text-pink !important;
}
.react-calendar__tile{
border: 1px solid #cfd7e3 !important;
border-left: 0;
text-align: right;
height: 4.813rem !important;
height: 6.813rem !important;
transition: all 500ms;
/* @apply border border-pink !important; */
}
.dark .react-calendar__tile{background: #11131F;}