diff --git a/superset-frontend/src/components/Table/VirtualTable.tsx b/superset-frontend/src/components/Table/VirtualTable.tsx index d8658dde60..4d4dc2a004 100644 --- a/superset-frontend/src/components/Table/VirtualTable.tsx +++ b/superset-frontend/src/components/Table/VirtualTable.tsx @@ -61,8 +61,11 @@ const StyledTable = styled(AntTable)<{ height?: number }>( .ant-pagination-item-active { border-color: ${theme.colors.primary.base}; + } + } + .ant-table.ant-table-small { + font-size: ${theme.typography.sizes.s}px; } - } `, ); diff --git a/superset-frontend/src/components/Table/index.tsx b/superset-frontend/src/components/Table/index.tsx index ef9830f49c..84ca7883f5 100644 --- a/superset-frontend/src/components/Table/index.tsx +++ b/superset-frontend/src/components/Table/index.tsx @@ -184,6 +184,10 @@ const StyledTable = styled(AntTable)<{ height?: number }>( .ant-pagination-item-active { border-color: ${theme.colors.primary.base}; } + + .ant-table.ant-table-small { + font-size: ${theme.typography.sizes.s}px; + } `, ); const StyledVirtualTable = styled(VirtualTable)(