Remove margin from virtuoso list item
margin breaks virtuosos height calculation
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user