fix: 侧栏账户下拉去掉横向滚动条
All checks were successful
Build and Deploy Front / deploy (push) Successful in 6m46s
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:
parent
eb12f9fb9e
commit
648ccf2a1a
@ -716,14 +716,25 @@ const onMenuClick = async (event: { key: string }) => {
|
|||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 固定宽度面板:禁止横向滚动条 */
|
||||||
|
.arco-scrollbar-container {
|
||||||
|
overflow-x: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.arco-scrollbar-track-direction-horizontal {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.csr-user-panel {
|
.csr-user-panel {
|
||||||
/* 与客户侧栏展开宽对齐 */
|
/* 与客户侧栏展开宽对齐 */
|
||||||
width: 200px;
|
width: 200px;
|
||||||
|
max-width: 200px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
overflow-x: hidden;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: var(--color-text-1);
|
color: var(--color-text-1);
|
||||||
|
|
||||||
@ -840,7 +851,8 @@ const onMenuClick = async (event: { key: string }) => {
|
|||||||
&__body {
|
&__body {
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
max-height: min(52vh, 360px);
|
max-height: min(52vh, 360px);
|
||||||
overflow: auto;
|
overflow-x: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__footer {
|
&__footer {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user