fix(components): 修复列设置的滚动条颜色不随主题切换问题

This commit is contained in:
AN
2026-03-18 21:59:44 +08:00
parent 7cdcfb5971
commit 9b4dd76478
@@ -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 overflow-y-auto max-h-[200px]"
>
<div <div
v-for="item in columns" v-for="item in columns"
:key="item.key" :key="item.key"
@@ -115,14 +120,7 @@ function toggleSelectAll(checked: boolean) {
</template> </template>
<style scoped lang="scss"> <style scoped lang="scss">
.table-column-setting-list { .column-setting-scroll {
max-height: 60vh; @include scrollbar();
overflow-y: auto;
scrollbar-width: none;
-ms-overflow-style: none;
}
.table-column-setting-list::-webkit-scrollbar {
display: none;
} }
</style> </style>