fix: correct border radius when table has title (#36384)

This commit is contained in:
Yunwoo Ji 2022-07-05 18:27:49 +09:00 committed by GitHub
parent cff413eb6c
commit e503f9d5ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
// ================================================================
// = Border Radio =
// = Border Radius =
// ================================================================
.@{table-prefix-cls} {
/* title + table */
@ -11,13 +11,17 @@
border-top-left-radius: 0;
border-top-right-radius: 0;
table > thead > tr:first-child {
th:first-child {
border-radius: 0;
}
table {
border-radius: 0;
th:last-child {
border-radius: 0;
> thead > tr:first-child {
th:first-child {
border-radius: 0;
}
th:last-child {
border-radius: 0;
}
}
}
}