mirror of
https://gitee.com/nicefold/seewis-soybean-plus.git
synced 2026-10-14 10:02:13 +08:00
fix(components): 修复列设置的滚动条颜色不随主题切换问题
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user