Remove margin from virtuoso list item

margin breaks virtuosos height calculation
This commit is contained in:
schroda
2024-05-23 13:50:54 +02:00
parent cf996d67bb
commit 1b408c8065

View File

@@ -82,11 +82,10 @@ export const ChapterCard: React.FC<IProps> = (props: IProps) => {
<li> <li>
<PopupState variant="popover" popupId="chapter-card-action-menu"> <PopupState variant="popover" popupId="chapter-card-action-menu">
{(popupState) => ( {(popupState) => (
<> <Stack sx={{ pt: 1, px: 1 }}>
<Card <Card
sx={{ sx={{
position: 'relative', position: 'relative',
margin: 1,
touchCallout: 'none', touchCallout: 'none',
}} }}
> >
@@ -165,7 +164,7 @@ export const ChapterCard: React.FC<IProps> = (props: IProps) => {
)} )}
</Menu> </Menu>
)} )}
</> </Stack>
)} )}
</PopupState> </PopupState>
</li> </li>