Update tracker components styling
This commit is contained in:
@@ -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}`}
|
||||||
|
|||||||
@@ -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',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -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)}
|
||||||
|
|||||||
Reference in New Issue
Block a user