Skip to content

Commit 41c73b4

Browse files
committed
chore: change width of SizeSelector and find your size element
1 parent 9307d44 commit 41c73b4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/app/[locale]/(main)/products/[...id]/page.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,16 @@ const Page: FC<PageProps> = () => {
7676
mt: 2,
7777
}}
7878
>
79-
<Grid item xs={6} md={4} lg={3}>
79+
<Grid item>
8080
<SizeSelector items={[41, 42, 43, 44]} />
8181
</Grid>
82-
<Grid item xs={6} md={4} lg={3}>
82+
<Grid item>
8383
<Button
8484
fullWidth
8585
variant="outlined"
8686
sx={{
8787
height: '100%',
88+
minWidth: 'fit-content',
8889
}}
8990
>
9091
{t('buttons.findYourSize')}

src/components/SizeSelector/SizeSelector.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const SizeSelector: FC<SizeSelectorProps> = ({ items }) => {
2626
display: 'flex',
2727
flexDirection: 'column',
2828
gap: 2,
29+
minWidth: 150,
2930
}}
3031
>
3132
<FormControl fullWidth size="small">

0 commit comments

Comments
 (0)