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