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