resolve horizontal scrollbar issue

This commit is contained in:
jingrow 2025-12-21 22:56:04 +08:00
parent 1f281fa71f
commit 3a62ca379b
2 changed files with 5 additions and 6 deletions

View File

@ -58,7 +58,7 @@ body {
#app {
height: 100vh;
width: 100vw;
width: 100%;
}
/* 滚动条样式 */

View File

@ -1562,7 +1562,7 @@ onUnmounted(() => {
flex-direction: column;
background: white;
position: relative;
overflow: visible; /* 改为 visible 允许内容溢出 */
overflow: !important hidden;
}
/* 应用布局样式(登录后) */
@ -1715,14 +1715,13 @@ onUnmounted(() => {
flex-direction: column;
overflow: hidden;
min-height: 0;
height: 0; /* 强制 flex 子元素计算高度 */
height: 0;
}
/* 登录后的 main-content 样式覆盖 */
.content-wrapper .main-content {
height: auto; /* 登录后恢复自动高度 */
height: auto;
min-height: auto;
overflow: visible; /* 登录后允许内容显示 */
overflow: hidden;
}
.global-drag-overlay {