Skip to content

Commit 40bdef3

Browse files
authored
fix: fixed responsive issue with favourited button (#2711)
1 parent 0caa044 commit 40bdef3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/TopInfoPanel/PageTitle.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ export const PageTitle = ({
9393
onClick={handleFavoriteClick}
9494
variant="surface"
9595
sx={{
96-
display: { xs: 'none', sm: 'flex' }, // Hide on mobile (xs), show on small screens and up
96+
display: 'none',
97+
[theme.breakpoints.up(800)]: { display: 'flex' }, // Hide on mobile (xs) and for widths between 759px and 800px, show on small screens and up
9798
p: '7px 8px',
9899
minWidth: 'unset',
99100
gap: 2,

0 commit comments

Comments
 (0)