|
19 | 19 | <tbody> |
20 | 20 | <!-- table header --> |
21 | 21 | <tr class="t-header sticky z-20 top-0 text-xs bg-lightListTableHeading dark:bg-darkListTableHeading dark:text-gray-400"> |
22 | | - <td scope="col" class="p-4 sticky-column bg-lightListTableHeading dark:bg-darkListTableHeading"> |
| 22 | + <td scope="col" class="list-table-header-cell p-4 sticky-column bg-lightListTableHeading dark:bg-darkListTableHeading"> |
23 | 23 | <Checkbox |
24 | 24 | :modelValue="allFromThisPageChecked" |
25 | 25 | :disabled="!rows || !rows.length" |
|
29 | 29 | </Checkbox> |
30 | 30 | </td> |
31 | 31 |
|
32 | | - <td v-for="c in columnsListed" ref="headerRefs" scope="col" class="px-2 md:px-3 lg:px-6 py-3" :class="{'sticky-column bg-lightListTableHeading dark:bg-darkListTableHeading': c.listSticky}"> |
| 32 | + <td v-for="c in columnsListed" ref="headerRefs" scope="col" class="list-table-header-cell px-2 md:px-3 lg:px-6 py-3" :class="{'sticky-column bg-lightListTableHeading dark:bg-darkListTableHeading': c.listSticky}"> |
33 | 33 |
|
34 | 34 | <div @click="(evt) => c.sortable && onSortButtonClick(evt, c.name)" |
35 | 35 | class="flex items-center " :class="{'cursor-pointer':c.sortable}"> |
|
97 | 97 | v-for="(row, rowI) in visibleRows" |
98 | 98 | :key="`row_${row._primaryKeyValue}`" |
99 | 99 | ref="rowRefs" |
100 | | - class="bg-lightListTable dark:bg-darkListTable border-lightListBorder dark:border-gray-700 hover:bg-lightListTableRowHover dark:hover:bg-darkListTableRowHover" |
| 100 | + class="list-table-body-row bg-lightListTable dark:bg-darkListTable border-lightListBorder dark:border-gray-700 hover:bg-lightListTableRowHover dark:hover:bg-darkListTableRowHover" |
101 | 101 | :class="{'border-b': rowI !== visibleRows.length - 1, 'cursor-pointer': row._clickUrl !== null}" |
102 | 102 | @mounted="(el: any) => updateRowHeight(`row_${row._primaryKeyValue}`, el.offsetHeight)" |
103 | 103 | > |
@@ -761,8 +761,8 @@ td.sticky-column { |
761 | 761 | @apply left-[56px]; |
762 | 762 | } |
763 | 763 | } |
764 | | -tr:not(:first-child):hover { |
765 | | - td.sticky-column { |
| 764 | +tr.list-table-body-row:not(:first-child):hover { |
| 765 | + td.sticky-column:not(.list-table-header-cell) { |
766 | 766 | @apply bg-lightListTableRowHover dark:bg-darkListTableRowHover; |
767 | 767 | } |
768 | 768 | } |
|
0 commit comments