mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-13 00:45:47 +01:00
Card styling
This commit is contained in:
@@ -105,14 +105,14 @@ export function AppShelfItem(props: any) {
|
|||||||
<AppShelfMenu service={service} />
|
<AppShelfMenu service={service} />
|
||||||
</motion.div>
|
</motion.div>
|
||||||
</Card.Section>
|
</Card.Section>
|
||||||
<Center>
|
<Card.Section>
|
||||||
<Card.Section>
|
<Center>
|
||||||
<AspectRatio
|
<AspectRatio
|
||||||
ratio={3 / 5}
|
ratio={3 / 5}
|
||||||
m="xl"
|
m="lg"
|
||||||
style={{
|
style={{
|
||||||
width: 150,
|
height: 75 * ((config.settings.appCardWidth ?? 1) * 1.2),
|
||||||
height: 90,
|
width: 75 * ((config.settings.appCardWidth ?? 1) * 2),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<motion.i
|
<motion.i
|
||||||
@@ -126,8 +126,8 @@ export function AppShelfItem(props: any) {
|
|||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
styles={{ root: { cursor: 'pointer' } }}
|
styles={{ root: { cursor: 'pointer' } }}
|
||||||
width={80}
|
width={75 * ((config.settings.appCardWidth ?? 1) * 1.2)}
|
||||||
height={80}
|
height={75 * ((config.settings.appCardWidth ?? 1) * 1.2)}
|
||||||
src={service.icon}
|
src={service.icon}
|
||||||
fit="contain"
|
fit="contain"
|
||||||
/>
|
/>
|
||||||
@@ -135,8 +135,8 @@ export function AppShelfItem(props: any) {
|
|||||||
</motion.i>
|
</motion.i>
|
||||||
</AspectRatio>
|
</AspectRatio>
|
||||||
{service.ping !== false && <PingComponent url={service.url} status={service.status} />}
|
{service.ping !== false && <PingComponent url={service.url} status={service.status} />}
|
||||||
</Card.Section>
|
</Center>
|
||||||
</Center>
|
</Card.Section>
|
||||||
</Card>
|
</Card>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user