mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 11:20:07 +08:00
fix: increase dropdown menu max height for better visibility
This commit is contained in:
parent
8df196b902
commit
569f06a194
@ -102,16 +102,17 @@
|
||||
}
|
||||
|
||||
.ant-dropdown-menu .ant-dropdown-menu-sub {
|
||||
max-height: min(300px, 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: 600px) {
|
||||
.ant-dropdown-menu .ant-dropdown-menu-sub {
|
||||
max-height: 30vh;
|
||||
@media (max-height: 700px) {
|
||||
.ant-dropdown .ant-dropdown-menu,
|
||||
.ant-dropdown-menu-sub {
|
||||
max-height: 50vh !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user