🐛 Fix small table bottom border radius issue

https://github.com/ant-design/ant-design/issues/19287#issuecomment-544368967
This commit is contained in:
afc163 2019-10-22 11:13:40 +08:00 committed by 偏右
parent b770db4330
commit b919c23d08

View File

@ -102,7 +102,7 @@
.@{table-prefix-cls}-header {
background-color: @component-background;
border-radius: @border-radius-base @border-radius-base 0 0;
border-radius: @table-border-radius-base @table-border-radius-base 0 0;
}
.@{table-prefix-cls}-placeholder,
@ -161,4 +161,12 @@
margin: -@table-padding-vertical-sm -@table-padding-horizontal / 2 -@table-padding-vertical-sm -
1px;
}
// https://github.com/ant-design/ant-design/issues/19287#issuecomment-544368967
&.@{table-prefix-cls}-fixed-header
> .@{table-prefix-cls}-content
> .@{table-prefix-cls}-scroll
> .@{table-prefix-cls}-body {
border-radius: 0 0 @table-border-radius-base @table-border-radius-base;
}
}