fix: 修复高度溢出问题
This commit is contained in:
parent
dd4cd871ba
commit
065868a40b
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<ScrollX ref="scrollX" :height="useTheme.tags.height" border-b bc-eee>
|
||||
<ScrollX ref="scrollX" :height="useTheme.tags.height">
|
||||
<n-tag
|
||||
v-for="tag in tagsStore.tags"
|
||||
:key="tag.path"
|
||||
|
@ -18,7 +18,7 @@
|
||||
<n-layout style="background-color: #f5f6fb" :style="`height: calc(100% - ${useTheme.header.height}px)`">
|
||||
<AppTags v-if="useTheme.tags.visible" />
|
||||
<AppMain
|
||||
class="cur-scroll"
|
||||
class="cur-scroll border-t bc-eee"
|
||||
:style="{
|
||||
height: `calc(100% - ${useTheme.tags.visible ? useTheme.tags.height : 0}px)`,
|
||||
overflow: 'auto',
|
||||
|
Loading…
x
Reference in New Issue
Block a user