0
0
Fork 0

fix: refs #8010 footer class

This commit is contained in:
Alex Moreno 2024-10-23 10:48:30 +02:00
parent 735ee09ef8
commit e7acdfd4f7
1 changed files with 4 additions and 0 deletions

View File

@ -417,6 +417,7 @@ function handleScroll() {
ref="tableRef" ref="tableRef"
v-bind="table" v-bind="table"
class="vnTable" class="vnTable"
:class="{ lastRowSticky: $props.footer }"
:columns="splittedColumns.columns" :columns="splittedColumns.columns"
:rows="rows" :rows="rows"
v-model:selected="selected" v-model:selected="selected"
@ -855,6 +856,9 @@ es:
table tbody th { table tbody th {
position: relative; position: relative;
} }
}
.lastRowSticky {
tbody:nth-last-child(1) { tbody:nth-last-child(1) {
@extend .bg-header; @extend .bg-header;
position: sticky; position: sticky;