fix: adjust dropdown menu max height for improved usability

This commit is contained in:
suyao 2025-10-23 04:47:27 +08:00
parent b2c819ffba
commit 784b570428
No known key found for this signature in database

View File

@ -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);
}