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