Skip to content

Commit cf8a1c4

Browse files
committed
chore: update
1 parent 5845b42 commit cf8a1c4

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

packages/rolldown/src/app/components/data/PluginDetailsTable.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,15 @@ function toggleDurationSortType() {
8484
<template>
8585
<DataVirtualList
8686
v-if="filtered.length && selectedFields.length"
87+
class="plugin-details-table"
8788
role="table"
8889
min-w-max h-full min-h-0
8990
:items="filtered"
9091
key-prop="id"
9192
:page-mode="false"
9293
>
9394
<template #before>
94-
<div role="row" class="sticky top-0 z10 border-b border-base bg-base" flex="~ row">
95+
<div role="row" class="border-b border-base bg-base" flex="~ row">
9596
<div v-if="selectedFields.includes('hookName')" role="columnheader" bg-base flex-none w32 ws-nowrap p1 text-center font-600>
9697
Hook name
9798
</div>
@@ -189,3 +190,11 @@ function toggleDurationSortType() {
189190
</div>
190191
</div>
191192
</template>
193+
194+
<style scoped>
195+
.plugin-details-table:deep(.vue-recycle-scroller__slot) {
196+
position: sticky;
197+
top: 0;
198+
z-index: 10;
199+
}
200+
</style>

0 commit comments

Comments
 (0)