🐛 fix calendar and aside ui issues

This commit is contained in:
Manuel
2022-09-13 21:15:24 +02:00
parent eaef58751d
commit cee15effa6
2 changed files with 8 additions and 5 deletions

View File

@@ -5,7 +5,7 @@ import { ModuleWrapper } from '../../modules/moduleWrapper';
export default function Widgets(props: any) { export default function Widgets(props: any) {
return ( return (
<Stack my="sm" style={{ width: 300 }}> <Stack my={16} style={{ width: 300 }}>
<ModuleWrapper module={CalendarModule} /> <ModuleWrapper module={CalendarModule} />
<ModuleWrapper module={TotalDownloadsModule} /> <ModuleWrapper module={TotalDownloadsModule} />
<ModuleWrapper module={WeatherModule} /> <ModuleWrapper module={WeatherModule} />

View File

@@ -137,13 +137,16 @@ export default function CalendarComponent(props: any) {
? { ? {
backgroundColor: 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={{ styles={{
calendarHeader: { calendarHeader: {
marginRight: 15, marginRight: 40,
marginLeft: 15, marginLeft: 40,
}, },
}} }}
allowLevelChange={false} allowLevelChange={false}