mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 06:30:10 +08:00
fix: adjust dropdown menu max height for improved usability
This commit is contained in:
parent
b2c819ffba
commit
784b570428
@ -111,7 +111,7 @@
|
||||
|
||||
@media (max-height: 700px) {
|
||||
.ant-dropdown .ant-dropdown-menu,
|
||||
.ant-dropdown-menu-sub {
|
||||
.ant-dropdown .ant-dropdown-menu-sub {
|
||||
max-height: 50vh !important;
|
||||
}
|
||||
}
|
||||
@ -124,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