diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 42d6b82a6..47323da95 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -417,7 +417,7 @@ function handleScroll() { ref="tableRef" v-bind="table" class="vnTable" - :class="{ lastRowSticky: $props.footer }" + :class="{ 'last-row-sticky': $props.footer }" :columns="splittedColumns.columns" :rows="rows" v-model:selected="selected" @@ -858,7 +858,7 @@ es: } } -.lastRowSticky { +.last-row-sticky { tbody:nth-last-child(1) { @extend .bg-header; position: sticky;