feat: refs #8110 #8110 sticky header class
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
17675fb857
commit
67fc3b1e4a
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue