diff --git a/apps/jingrow/frontend/src/assets/styles/main.css b/apps/jingrow/frontend/src/assets/styles/main.css index 9b47aec..09384c6 100644 --- a/apps/jingrow/frontend/src/assets/styles/main.css +++ b/apps/jingrow/frontend/src/assets/styles/main.css @@ -58,7 +58,7 @@ body { #app { height: 100vh; - width: 100vw; + width: 100%; } /* 滚动条样式 */ diff --git a/apps/jingrow/frontend/src/views/HomePage.vue b/apps/jingrow/frontend/src/views/HomePage.vue index 9b481c4..89248ad 100644 --- a/apps/jingrow/frontend/src/views/HomePage.vue +++ b/apps/jingrow/frontend/src/views/HomePage.vue @@ -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 {