mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-20 15:10:59 +08:00
Merge 784b570428 into 8ab375161d
This commit is contained in:
commit
ca1a84a562
@ -102,13 +102,20 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ant-dropdown-menu .ant-dropdown-menu-sub {
|
.ant-dropdown-menu .ant-dropdown-menu-sub {
|
||||||
max-height: 80vh;
|
max-height: min(500px, 80vh);
|
||||||
width: max-content;
|
width: max-content;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
border: 0.5px solid var(--color-border);
|
border: 0.5px solid var(--color-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-height: 700px) {
|
||||||
|
.ant-dropdown .ant-dropdown-menu,
|
||||||
|
.ant-dropdown .ant-dropdown-menu-sub {
|
||||||
|
max-height: 50vh !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.ant-dropdown {
|
.ant-dropdown {
|
||||||
background-color: var(--ant-color-bg-elevated);
|
background-color: var(--ant-color-bg-elevated);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -117,7 +124,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ant-dropdown .ant-dropdown-menu {
|
.ant-dropdown .ant-dropdown-menu {
|
||||||
max-height: 80vh;
|
max-height: min(500px, 80vh);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
border: 0.5px solid var(--color-border);
|
border: 0.5px solid var(--color-border);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user