fix: 侧栏账户下拉去掉横向滚动条
All checks were successful
Build and Deploy Front / deploy (push) Successful in 6m46s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zzh 2026-10-27 15:48:56 +08:00
parent eb12f9fb9e
commit 648ccf2a1a

View File

@ -716,14 +716,25 @@ const onMenuClick = async (event: { key: string }) => {
padding: 0 !important;
margin: 0 !important;
}
/* 固定宽度面板:禁止横向滚动条 */
.arco-scrollbar-container {
overflow-x: hidden !important;
}
.arco-scrollbar-track-direction-horizontal {
display: none !important;
}
}
.csr-user-panel {
/* 与客户侧栏展开宽对齐 */
width: 200px;
max-width: 200px;
box-sizing: border-box;
display: flex;
flex-direction: column;
overflow-x: hidden;
background: #fff;
color: var(--color-text-1);
@ -840,7 +851,8 @@ const onMenuClick = async (event: { key: string }) => {
&__body {
padding: 6px;
max-height: min(52vh, 360px);
overflow: auto;
overflow-x: hidden;
overflow-y: auto;
}
&__footer {