Update tracker components styling

This commit is contained in:
schroda
2024-09-01 00:28:18 +02:00
parent c5f83cec53
commit 716f1df073
3 changed files with 7 additions and 7 deletions

View File

@@ -153,7 +153,7 @@ const TrackerActiveHeader = ({
const { t } = useTranslation(); const { t } = useTranslation();
return ( return (
<Stack direction="row" alignItems="stretch" sx={{ paddingBottom: '15px' }}> <Stack direction="row" alignItems="stretch" sx={{ paddingBottom: 2 }}>
<TrackerActiveLink url={trackRecord.remoteUrl}> <TrackerActiveLink url={trackRecord.remoteUrl}>
<Avatar <Avatar
alt={`${tracker.name}`} alt={`${tracker.name}`}

View File

@@ -111,27 +111,27 @@ export const TrackerMangaCard = ({
return ( return (
<Card <Card
sx={{ sx={{
marginBottom: '15px', marginBottom: 2,
'&:last-child': { marginBottom: '60px' }, '&:last-child': { marginBottom: 8 },
}} }}
> >
<CardActionArea onClick={onSelect}> <CardActionArea onClick={onSelect}>
<CardContent sx={{ padding: '0', borderRadius: 'inherit' }}> <CardContent sx={{ padding: '0', borderRadius: 'inherit' }}>
<Box <Box
sx={{ sx={{
padding: '10px', padding: 1,
border: '3px solid', border: '3px solid',
borderRadius: 'inherit', borderRadius: 'inherit',
borderColor: selected ? 'primary.main' : 'transparent', borderColor: selected ? 'primary.main' : 'transparent',
}} }}
> >
<Stack direction="row" gap="15px" marginBottom="15px"> <Stack direction="row" gap={2} marginBottom={2}>
<CardMedia <CardMedia
sx={{ sx={{
aspectRatio: '225/350', aspectRatio: '225/350',
minWidth: '100px', minWidth: '100px',
width: '150px', width: '150px',
borderRadius: '4px', borderRadius: 1,
overflow: 'hidden', overflow: 'hidden',
}} }}
> >

View File

@@ -28,7 +28,7 @@ export const TrackerUntrackedCard = ({
return ( return (
<Card sx={CARD_STYLING}> <Card sx={CARD_STYLING}>
<CardContent sx={{ padding: '0' }}> <CardContent sx={{ padding: '0' }}>
<Stack direction="row" gap="25px"> <Stack direction="row" gap={3}>
<Avatar <Avatar
alt={`${tracker.name}`} alt={`${tracker.name}`}
src={requestManager.getValidImgUrlFor(tracker.icon)} src={requestManager.getValidImgUrlFor(tracker.icon)}