1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-12-28 12:10:20 +08:00

style: modify custom scrollbar

This commit is contained in:
张传龙
2022-07-21 17:47:11 +08:00
parent eb160731da
commit 80a5b7f053
3 changed files with 5 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
<n-layout bg="#f5f6fb" :style="`height: calc(100% - ${useTheme.header.height ?? 60}px)`">
<AppTags v-if="useTheme.tags.visible" />
<AppMain
class="cur-scroll border-t bc-eee"
class="cus-scroll border-t bc-eee"
:style="{
height: `calc(100% - ${useTheme.tags.visible ? useTheme.tags.height ?? 50 : 0}px)`,
overflow: 'auto',