Skip to content

Commit a645ae0

Browse files
author
Sebastian Benjamin
committed
Fix padding around plugin dialogs for MUI v5
1 parent d5af44d commit a645ae0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jbrowse/src/client/JBrowse/VariantSearch/components/VariantTableWidget.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -446,17 +446,17 @@ const VariantTableWidget = observer(props => {
446446
<Typography variant="h6">{widgetType.heading}</Typography>
447447
</Toolbar>
448448
</AppBar>
449-
<ScopedCssBaseline>
450-
<ReactComponent model={visibleWidget}/>
451-
</ScopedCssBaseline>
449+
450+
<Box sx={{ margin: '12px' }}>
451+
<ReactComponent model={visibleWidget} style={{ margin: '12px' }}/>
452+
</Box>
452453
</Paper>
453454
</Dialog>
454455
)
455456
})
456457
}
457458

458459
<div style={{ marginBottom: "10px", display: "flex", alignItems: "center" }}>
459-
460460
<div style={{ flex: 1 }}>
461461
{filters.map((filter, index) => {
462462
if ((filter as any).field == "" || (filter as any).operator == "" || (filter as any).value == "" ) {

0 commit comments

Comments
 (0)