Revert "พัฒนา => โครงการ/หลักสูตรการฝึกอบรม"
This reverts commit c677511faa.
This commit is contained in:
parent
c677511faa
commit
57f4f567cf
1 changed files with 0 additions and 38 deletions
|
|
@ -259,8 +259,6 @@ onMounted(() => {
|
||||||
|
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<q-table
|
<q-table
|
||||||
class="my-sticky-dynamic"
|
|
||||||
virtual-scroll
|
|
||||||
flat
|
flat
|
||||||
bordered
|
bordered
|
||||||
:rows="systemLists"
|
:rows="systemLists"
|
||||||
|
|
@ -703,40 +701,4 @@ onMounted(() => {
|
||||||
top: -2px;
|
top: -2px;
|
||||||
right: -2px;
|
right: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-sticky-dynamic {
|
|
||||||
/* Large screens and up */
|
|
||||||
|
|
||||||
height: 65vh;
|
|
||||||
|
|
||||||
.q-table__top,
|
|
||||||
.q-table__bottom,
|
|
||||||
thead tr:first-child th {
|
|
||||||
/* bg color is important for th; just specify one */
|
|
||||||
background-color: #fff; /* Replace with your desired color */
|
|
||||||
}
|
|
||||||
|
|
||||||
thead tr th {
|
|
||||||
position: sticky;
|
|
||||||
z-index: 1;
|
|
||||||
top: 0; /* Default top position for all th elements */
|
|
||||||
background-color: #fff; /* Replace with your desired color */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* this will be the loading indicator */
|
|
||||||
thead tr:last-child th {
|
|
||||||
/* height of all previous header rows */
|
|
||||||
top: 48px; /* Adjust this value based on the cumulative height of previous header rows */
|
|
||||||
}
|
|
||||||
|
|
||||||
thead tr:first-child th {
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* prevent scrolling behind sticky top row on focus */
|
|
||||||
tbody {
|
|
||||||
/* height of all previous header rows */
|
|
||||||
scroll-margin-top: 48px; /* Adjust this value based on the cumulative height of previous header rows */
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue