Styling modules

This commit is contained in:
Aj - Thomas
2022-05-12 23:04:59 +02:00
parent e3af7629aa
commit e61e986028
3 changed files with 12 additions and 2 deletions

View File

@@ -121,6 +121,9 @@ function DayComponent(props: any) {
{sonarrFiltered.length > 0 && <Indicator size={7} offset={8} color="blue" children={null} />} {sonarrFiltered.length > 0 && <Indicator size={7} offset={8} color="blue" children={null} />}
<Popover <Popover
position="left" position="left"
radius="lg"
shadow="xl"
transition="pop"
width={700} width={700}
onClose={() => setOpened(false)} onClose={() => setOpened(false)}
opened={opened} opened={opened}

View File

@@ -15,7 +15,14 @@ function MediaDisplay(props: { media: IMedia }) {
const { media }: { media: IMedia } = props; const { media }: { media: IMedia } = props;
return ( return (
<Group noWrap align="self-start" mr={15}> <Group noWrap align="self-start" mr={15}>
<Image fit="cover" src={media.poster} alt={media.title} width={300} height={400} /> <Image
radius="md"
fit="cover"
src={media.poster}
alt={media.title}
width={300}
height={400}
/>
<Stack <Stack
justify="space-between" justify="space-between"
sx={(theme) => ({ sx={(theme) => ({

View File

@@ -20,7 +20,7 @@ export default function ModuleWrapper(props: any) {
shadow="sm" shadow="sm"
style={{ style={{
// Make background color of the card depend on the theme // Make background color of the card depend on the theme
backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark[6] : 'white', backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark[5] : 'white',
}} }}
> >
<module.component /> <module.component />