mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
fix ItemCard skeleton sizing to match original
This commit is contained in:
@@ -420,14 +420,15 @@ const CompactItemCard = ({
|
||||
row !== null && row !== undefined,
|
||||
)
|
||||
.map((row, index) => (
|
||||
<div
|
||||
<Text
|
||||
className={clsx(styles.row, {
|
||||
[styles.muted]: index > 0,
|
||||
})}
|
||||
key={row.id}
|
||||
size={index > 0 ? 'sm' : 'md'}
|
||||
>
|
||||
|
||||
</div>
|
||||
</Text>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
@@ -636,14 +637,15 @@ const DefaultItemCard = ({
|
||||
(row): row is NonNullable<typeof row> => row !== null && row !== undefined,
|
||||
)
|
||||
.map((row, index) => (
|
||||
<div
|
||||
<Text
|
||||
className={clsx(styles.row, {
|
||||
[styles.muted]: index > 0,
|
||||
})}
|
||||
key={row.id}
|
||||
size={index > 0 ? 'sm' : 'md'}
|
||||
>
|
||||
|
||||
</div>
|
||||
</Text>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
@@ -922,14 +924,15 @@ const PosterItemCard = ({
|
||||
(row): row is NonNullable<typeof row> => row !== null && row !== undefined,
|
||||
)
|
||||
.map((row, index) => (
|
||||
<div
|
||||
<Text
|
||||
className={clsx(styles.row, {
|
||||
[styles.muted]: index > 0,
|
||||
})}
|
||||
key={row.id}
|
||||
size={index > 0 ? 'sm' : 'md'}
|
||||
>
|
||||
|
||||
</div>
|
||||
</Text>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user