Date align #23

Merged
LucidKobold merged 29 commits from date-align into main 2021-12-29 20:09:30 -05:00
18 changed files with 420 additions and 237 deletions
Showing only changes of commit 958affc5b6 - Show all commits

View File

@@ -37,17 +37,8 @@ const Calender = (newDate?: UpdateCalendarProps): JSX.Element => {
const currMonth = layout[`${userSettings.startOfWeek.toLowerCase()}`];
const { month, weekdays } = currMonth;
const [height, setHeight] = useState<string>("0px");
useEffect(() => {
if (window) {
const height = window.innerHeight - 60;
setHeight(`${height}px`);
}
}, []);
return (
<VStack h={height} w="100%">
<VStack h="91vh" w="100%">
<CalenderNav />
<HStack
px={6}