mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
🐛 fix calendar and aside ui issues
This commit is contained in:
@@ -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} />
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user