From 4aeb296a9813c142c211fa5ea05b9e40281bb0c9 Mon Sep 17 00:00:00 2001
From: lgq <110796157+GQingL@users.noreply.github.com>
Date: Tue, 27 Oct 2026 19:03:33 +0800
Subject: [PATCH] fix: prevent RBAC member list from shrinking header controls
---
web/static/css/style.css | 6 ++++++
web/templates/index.html | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/web/static/css/style.css b/web/static/css/style.css
index ba28fa4a..55f6fbb6 100644
--- a/web/static/css/style.css
+++ b/web/static/css/style.css
@@ -42301,6 +42301,12 @@ html[data-theme="dark"] .workflow-toolbar #workflow-connect-btn[aria-pressed="tr
max-height: none;
}
+.rbac-panel-users > .rbac-panel-head,
+.rbac-panel-users > .rbac-search {
+ /* Keep the fixed controls intact when a long member list needs to shrink. */
+ flex: 0 0 auto;
+}
+
.rbac-panel-users .rbac-list {
flex: 1 1 auto;
min-height: 0;
diff --git a/web/templates/index.html b/web/templates/index.html
index 109d8ace..01ccf701 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -39,7 +39,7 @@
}
})();
-
+