chore: make antd table font size same as data table (#24741)

This commit is contained in:
Maxime Beauchemin 2023-07-20 10:00:15 -07:00 committed by GitHub
parent cb9b865a53
commit d1d5ff6f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -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;
}
}
`,
);

View File

@ -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)(