fix: adjust dropdown menu max height for improved usability
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user