Fixed: Add Scroller to AlbumRelease selection

Fixes #1040
This commit is contained in:
Qstick 2021-04-02 00:20:52 -04:00
parent 015d2b1396
commit d7433291b8
1 changed files with 25 additions and 20 deletions

View File

@ -6,6 +6,7 @@ import ModalBody from 'Components/Modal/ModalBody';
import ModalContent from 'Components/Modal/ModalContent'; import ModalContent from 'Components/Modal/ModalContent';
import ModalFooter from 'Components/Modal/ModalFooter'; import ModalFooter from 'Components/Modal/ModalFooter';
import ModalHeader from 'Components/Modal/ModalHeader'; import ModalHeader from 'Components/Modal/ModalHeader';
import Scroller from 'Components/Scroller/Scroller';
import Table from 'Components/Table/Table'; import Table from 'Components/Table/Table';
import TableBody from 'Components/Table/TableBody'; import TableBody from 'Components/Table/TableBody';
import { scrollDirections } from 'Helpers/Props'; import { scrollDirections } from 'Helpers/Props';
@ -52,6 +53,8 @@ class SelectAlbumReleaseModalContent extends Component {
Overrriding a release here will <b>disable automatic release selection</b> for that album in future. Overrriding a release here will <b>disable automatic release selection</b> for that album in future.
</Alert> </Alert>
<Scroller className={styles.scroller}>
{
<Table <Table
columns={columns} columns={columns}
{...otherProps} {...otherProps}
@ -72,6 +75,8 @@ class SelectAlbumReleaseModalContent extends Component {
} }
</TableBody> </TableBody>
</Table> </Table>
}
</Scroller>
</ModalBody> </ModalBody>
<ModalFooter> <ModalFooter>