feat: refs #8110 #8110 sticky header class
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-10-16 16:02:32 +02:00
parent 17675fb857
commit 67fc3b1e4a
1 changed files with 24 additions and 0 deletions

View File

@ -288,3 +288,27 @@ 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;
}
}