fix(explore): Scroll only table in Change Dataset and Edit Dataset Modals (#12598)

This commit is contained in:
Geido
2021-01-21 19:34:41 +01:00
committed by GitHub
parent e4ae17def5
commit 3444d654ed
5 changed files with 83 additions and 27 deletions

View File

@@ -222,6 +222,8 @@ const ChangeDatasourceModal: FunctionComponent<ChangeDatasourceModalProps> = ({
responsive
title={t('Change Dataset')}
width={confirmChange ? '432px' : ''}
height={confirmChange ? 'auto' : '480px'}
hideFooter={!confirmChange}
footer={
<>
{confirmChange && (
@@ -267,6 +269,7 @@ const ChangeDatasourceModal: FunctionComponent<ChangeDatasourceModalProps> = ({
pageSize={20}
className="table-condensed"
emptyWrapperType={EmptyWrapperType.Small}
scrollTable
/>
)}
</>