mirror of https://github.com/apache/superset.git
chore: make antd table font size same as data table (#24741)
This commit is contained in:
parent
cb9b865a53
commit
d1d5ff6f9f
|
@ -61,8 +61,11 @@ const StyledTable = styled(AntTable)<{ height?: number }>(
|
||||||
|
|
||||||
.ant-pagination-item-active {
|
.ant-pagination-item-active {
|
||||||
border-color: ${theme.colors.primary.base};
|
border-color: ${theme.colors.primary.base};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ant-table.ant-table-small {
|
||||||
|
font-size: ${theme.typography.sizes.s}px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
`,
|
`,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -184,6 +184,10 @@ const StyledTable = styled(AntTable)<{ height?: number }>(
|
||||||
.ant-pagination-item-active {
|
.ant-pagination-item-active {
|
||||||
border-color: ${theme.colors.primary.base};
|
border-color: ${theme.colors.primary.base};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ant-table.ant-table-small {
|
||||||
|
font-size: ${theme.typography.sizes.s}px;
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
);
|
);
|
||||||
const StyledVirtualTable = styled(VirtualTable)(
|
const StyledVirtualTable = styled(VirtualTable)(
|
||||||
|
|
Loading…
Reference in New Issue