forked from verdnatura/salix-front
Merge pull request 'fix: refs #8010 footer class' (!857) from 8010-fix_vnTable_footer_class into test
Reviewed-on: verdnatura/salix-front#857 Reviewed-by: Pablo Natek <pablone@verdnatura.es>
This commit is contained in:
commit
5d4b5ad598
|
@ -417,6 +417,7 @@ function handleScroll() {
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
v-bind="table"
|
v-bind="table"
|
||||||
class="vnTable"
|
class="vnTable"
|
||||||
|
:class="{ 'last-row-sticky': $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;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.last-row-sticky {
|
||||||
tbody:nth-last-child(1) {
|
tbody:nth-last-child(1) {
|
||||||
@extend .bg-header;
|
@extend .bg-header;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
|
Loading…
Reference in New Issue