fix right side in grid

This commit is contained in:
ibs0d 2026-03-15 22:13:23 +11:00 committed by GitHub
parent aad4739643
commit 60f2e11666
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -710,9 +710,9 @@ export default function DraggableGridLayout({
currentGroups={groups} currentGroups={groups}
activeGroup={group} activeGroup={group}
/> />
<Responsive {containerWidth > 0 && <Responsive
className="grid-layout" className="grid-layout"
width={availableWidth || window.innerWidth} width={availableWidth}
layouts={{ layouts={{
lg: currentGridLayout, lg: currentGridLayout,
md: currentGridLayout, md: currentGridLayout,
@ -887,7 +887,7 @@ export default function DraggableGridLayout({
</GridLiveContextMenu> </GridLiveContextMenu>
); );
})} })}
</Responsive> </Responsive>}
{isDesktop && ( {isDesktop && (
<div <div
className={cn( className={cn(