Skip to content

Commit 6c16b5d

Browse files
FestiisFestiislubber-de
authored
fix(table): apply border-radius styles to last row of table footer
Changed the CSS selectors to target the last row instead of the first row in the table footer. Previously, the styles targeted the first row of the table footer. Co-authored-by: Festiis <[email protected]> Co-authored-by: Marco 'Lubber' Wienkoop <[email protected]>
1 parent 5437960 commit 6c16b5d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/definitions/collections/table.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,16 @@
117117
.ui.table > tfoot > tr > td:first-child {
118118
border-left: none;
119119
}
120-
.ui.table > tfoot > tr:first-child > th:first-child,
121-
.ui.table > tfoot > tr:first-child > td:first-child {
120+
.ui.table > tfoot > tr:last-child > th:first-child,
121+
.ui.table > tfoot > tr:last-child > td:first-child {
122122
border-radius: 0 0 0 @borderRadius;
123123
}
124-
.ui.table > tfoot > tr:first-child > th:last-child,
125-
.ui.table > tfoot > tr:first-child > td:last-child {
124+
.ui.table > tfoot > tr:last-child > th:last-child,
125+
.ui.table > tfoot > tr:last-child > td:last-child {
126126
border-radius: 0 0 @borderRadius 0;
127127
}
128-
.ui.table > tfoot > tr:first-child > th:only-child,
129-
.ui.table > tfoot > tr:first-child > td:only-child {
128+
.ui.table > tfoot > tr:last-child > th:only-child,
129+
.ui.table > tfoot > tr:last-child > td:only-child {
130130
border-radius: 0 0 @borderRadius @borderRadius;
131131
}
132132

0 commit comments

Comments
 (0)