mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-07 22:15:49 +01:00
Styling modules
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
@@ -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) => ({
|
||||||
|
|||||||
@@ -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 />
|
||||||
|
|||||||
Reference in New Issue
Block a user