Skip to content

Commit 0d84ed1

Browse files
authored
fix: table-prefix-cls is not work in class 'ant-table-thead' (#2166)
1 parent ed528e6 commit 0d84ed1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/table/style/index.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@
722722
table {
723723
border-radius: @table-border-radius-base 0 0 0;
724724
}
725-
.ant-table-thead > tr > th:last-child {
725+
.@{table-prefix-cls}-thead > tr > th:last-child {
726726
border-top-right-radius: 0;
727727
}
728728
}
@@ -740,7 +740,7 @@
740740
color: transparent;
741741
pointer-events: none;
742742
}
743-
.ant-table-thead > tr > th:first-child {
743+
.@{table-prefix-cls}-thead > tr > th:first-child {
744744
border-top-left-radius: 0;
745745
}
746746
}

0 commit comments

Comments
 (0)