diff --git a/src/renderer/src/assets/styles/ant.css b/src/renderer/src/assets/styles/ant.css index b082824e87..f0b32f9684 100644 --- a/src/renderer/src/assets/styles/ant.css +++ b/src/renderer/src/assets/styles/ant.css @@ -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; } }