fix(components): fix scrollbar display issue in table-column-setting component

This commit is contained in:
AN
2026-04-13 21:27:08 +08:00
committed by Soybean
parent 23451395dd
commit 7ec89b68b5

View File

@@ -82,7 +82,12 @@ function toggleSelectAll(checked: boolean) {
</NCheckbox> </NCheckbox>
</div> </div>
<NDivider class="!my-4px" /> <NDivider class="!my-4px" />
<VueDraggable v-model="columns" :animation="150" filter=".none_draggable" class="max-h-[200px] overflow-y-auto"> <VueDraggable
v-model="columns"
:animation="150"
filter=".none_draggable"
class="column-setting-scroll max-h-[200px] overflow-y-auto"
>
<div <div
v-for="item in columns" v-for="item in columns"
:key="item.key" :key="item.key"
@@ -114,4 +119,8 @@ function toggleSelectAll(checked: boolean) {
</NPopover> </NPopover>
</template> </template>
<style scoped></style> <style scoped lang="scss">
.column-setting-scroll {
@include scrollbar();
}
</style>