Skip to content

Commit

Permalink
[693] Fix scrolling regression inside the panels
Browse files Browse the repository at this point in the history
Bug: #693
Signed-off-by: Pierre-Charles David <[email protected]>
  • Loading branch information
pcdavid authored and sbegaudeau committed Mar 8, 2022
1 parent 0034c9b commit 893000b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/workbench/Site.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const useSiteStyles = makeStyles((theme) => ({
},
expanded: {
flexGrow: 1,
overflow: 'auto',
},
accordionDetailsRoot: {
display: 'block',
Expand Down Expand Up @@ -120,7 +121,7 @@ export const Site = ({ editingContextId, selection, setSelection, readOnly, cont
<AccordionSummary expandIcon={<ExpandMoreIcon />} IconButtonProps={{ size: 'small' }}>
{title}
</AccordionSummary>
<AccordionDetails className={classes.accordionDetailsRoot} data-testid={'Details AccordionDetails'}>
<AccordionDetails className={classes.accordionDetailsRoot} data-testid={`${title} AccordionDetails`}>
<Component
editingContextId={editingContextId}
selection={selection}
Expand Down

0 comments on commit 893000b

Please sign in to comment.