From 09214a3020333eea51162cf58639556ee1f7d8e9 Mon Sep 17 00:00:00 2001 From: suyao Date: Thu, 23 Oct 2025 04:22:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20improve=20dropdown=20subm?= =?UTF-8?q?enu=20scrolling=20for=20tag=20move=20functionality?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set max-height to min(400px, 80vh) for dropdown submenus - Ensures scrollable list when moving topics to tags with many assistants - Fixes issue where some tags cannot be displayed in move-to dropdown Fixes #10877 --- src/renderer/src/assets/styles/ant.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/assets/styles/ant.css b/src/renderer/src/assets/styles/ant.css index 30005ff738..7088e4c813 100644 --- a/src/renderer/src/assets/styles/ant.css +++ b/src/renderer/src/assets/styles/ant.css @@ -102,7 +102,7 @@ } .ant-dropdown-menu .ant-dropdown-menu-sub { - max-height: 80vh; + max-height: min(400px, 80vh); width: max-content; overflow-y: auto; overflow-x: hidden;