style: change cardText styling

This commit is contained in:
Prayag Prajapati committed 2024-03-25 12:28:38 +05:30
1 parent 08e633524a
commit 1403f57171
1 file changed
+5 -7
+5 -7
View File
@@ -136,8 +136,8 @@ export const Card = ({
: item.AlbumId ?? item.Id, : item.AlbumId ?? item.Id,
imageType, imageType,
{ {
quality: 90, quality: 80,
fillWidth: 400, fillWidth: cardType === "thumb" ? 560 : 280,
}, },
) )
} }
@@ -232,18 +232,16 @@ export const Card = ({
style={{ display: hideText ? "none" : "block" }} style={{ display: hideText ? "none" : "block" }}
> >
<Typography <Typography
variant="subtitle1" mt={1}
fontWeight={500} variant="subtitle2"
noWrap noWrap
textAlign="center"
style={{ opacity: 0.9 }} style={{ opacity: 0.9 }}
> >
{cardTitle} {cardTitle}
</Typography> </Typography>
<Typography <Typography
variant="subtitle2" variant="caption"
noWrap noWrap
textAlign="center"
style={{ opacity: 0.6 }} style={{ opacity: 0.6 }}
lineHeight="auto" lineHeight="auto"
> >