parent
67fc3b1e4a
commit
dc814ac09b
|
@ -288,27 +288,3 @@ input::-webkit-inner-spin-button {
|
|||
color: $info;
|
||||
}
|
||||
}
|
||||
|
||||
.table-header-sticky {
|
||||
max-height: 90vh;
|
||||
|
||||
.q-table__top,
|
||||
.q-table__bottom,
|
||||
thead {
|
||||
tr th {
|
||||
position: sticky;
|
||||
z-index: 1;
|
||||
}
|
||||
tr:last-child th {
|
||||
top: 48px;
|
||||
}
|
||||
tr:first-child th {
|
||||
background-color: var(--vn-section-color);
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
tbody {
|
||||
scroll-margin-top: 48px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -257,7 +257,7 @@ watch(
|
|||
<QTable
|
||||
:rows="rows"
|
||||
:columns="columns"
|
||||
class="full-width q-mt-md table-header-sticky"
|
||||
class="full-width q-mt-md"
|
||||
:no-data-label="t('globals.noResults')"
|
||||
:loading="loading"
|
||||
virtual-scroll
|
||||
|
|
Loading…
Reference in New Issue