Fix overflow issue in export dialog (#1737)
This commit is contained in:
parent
d17bd24419
commit
e36da6df28
1 changed files with 294 additions and 283 deletions
|
@ -98,6 +98,15 @@ const useStyles = makeStyles(
|
|||
},
|
||||
warehousesLabel: {
|
||||
marginBottom: theme.spacing(2)
|
||||
},
|
||||
scrollArea: {
|
||||
maxHeight: "calc(100vh - 350px)",
|
||||
minHeight: "auto",
|
||||
"@media (min-height: 800px)": {
|
||||
minHeight: 440
|
||||
},
|
||||
overflowY: "auto",
|
||||
overflowX: "hidden"
|
||||
}
|
||||
}),
|
||||
{
|
||||
|
@ -304,6 +313,7 @@ const ProductExportDialogInfo: React.FC<ProductExportDialogInfoProps> = ({
|
|||
description="select product informations to be exported"
|
||||
/>
|
||||
</Typography>
|
||||
<div className={classes.scrollArea}>
|
||||
<Accordion
|
||||
className={classes.accordion}
|
||||
title={intl.formatMessage(sectionNames.channels)}
|
||||
|
@ -601,6 +611,7 @@ const ProductExportDialogInfo: React.FC<ProductExportDialogInfoProps> = ({
|
|||
onToggleAll={handleToggleAllFields}
|
||||
data-test="seo"
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue