diff --git a/datahub-web-react/src/app/entity/shared/tabs/Dataset/Schema/SchemaTab.tsx b/datahub-web-react/src/app/entity/shared/tabs/Dataset/Schema/SchemaTab.tsx index fa2edd32f0..1095e14cc7 100644 --- a/datahub-web-react/src/app/entity/shared/tabs/Dataset/Schema/SchemaTab.tsx +++ b/datahub-web-react/src/app/entity/shared/tabs/Dataset/Schema/SchemaTab.tsx @@ -20,6 +20,10 @@ const NoSchema = styled(Empty)` padding-top: 60px; `; +const SchemaTableContainer = styled.div` + overflow: auto; + height: 100%; +`; export const SchemaTab = ({ properties }: { properties?: any }) => { const { entityData } = useEntityData(); const baseEntity = useBaseEntity(); @@ -120,7 +124,7 @@ export const SchemaTab = ({ properties }: { properties?: any }) => { (getSchemaBlameData?.getSchemaBlame?.schemaFieldBlameList as Array) || []; return ( -
+ <> { showSchemaAuditView={showSchemaAuditView} setShowSchemaAuditView={setShowSchemaAuditView} /> - {/* eslint-disable-next-line no-nested-ternary */} - {showRaw ? ( - - ) : rows && rows.length > 0 ? ( - <> - - - - - ) : ( - - )} -
+ + {/* eslint-disable-next-line no-nested-ternary */} + {showRaw ? ( + + ) : rows && rows.length > 0 ? ( + <> + + + + + ) : ( + + )} + + ); };