mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-11 08:19:01 +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 {
|
.ant-dropdown-menu .ant-dropdown-menu-sub {
|
||||||
max-height: min(300px, 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: 600px) {
|
@media (max-height: 700px) {
|
||||||
.ant-dropdown-menu .ant-dropdown-menu-sub {
|
.ant-dropdown .ant-dropdown-menu,
|
||||||
max-height: 30vh;
|
.ant-dropdown-menu-sub {
|
||||||
|
max-height: 50vh !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user