This commit is contained in:
SuYao 2025-12-18 20:17:00 +08:00 committed by GitHub
commit ca1a84a562
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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