From cee15effa6b10ce0f96c7cc1db9e18547ba1bceb Mon Sep 17 00:00:00 2001 From: Manuel Date: Tue, 13 Sep 2022 21:15:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20calendar=20and=20aside=20u?= =?UTF-8?q?i=20issues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/Widgets.tsx | 2 +- src/modules/calendar/CalendarModule.tsx | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/components/layout/Widgets.tsx b/src/components/layout/Widgets.tsx index 307671011..70a6759ef 100644 --- a/src/components/layout/Widgets.tsx +++ b/src/components/layout/Widgets.tsx @@ -5,7 +5,7 @@ import { ModuleWrapper } from '../../modules/moduleWrapper'; export default function Widgets(props: any) { return ( - + diff --git a/src/modules/calendar/CalendarModule.tsx b/src/modules/calendar/CalendarModule.tsx index 171bd8106..ce55779b0 100644 --- a/src/modules/calendar/CalendarModule.tsx +++ b/src/modules/calendar/CalendarModule.tsx @@ -136,14 +136,17 @@ export default function CalendarComponent(props: any) { date.getDay() === today.getDay() && date.getDate() === today.getDate() ? { backgroundColor: - theme.colorScheme === 'dark' ? theme.colors.dark[5] : theme.colors.gray[0], + theme.colorScheme === 'dark' ? theme.colors.dark[5] : theme.colors.gray[0], + margin: 1, } - : {} + : { + margin: 1, + } } styles={{ calendarHeader: { - marginRight: 15, - marginLeft: 15, + marginRight: 40, + marginLeft: 40, }, }} allowLevelChange={false}