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 1/2] 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 @@ } })(); - + From f0f93283eea8d13d9aabd5eea71f3ae2f9207707 Mon Sep 17 00:00:00 2001 From: lgq <110796157+GQingL@users.noreply.github.com> Date: Tue, 27 Oct 2026 19:15:49 +0800 Subject: [PATCH 2/2] fix: contain RBAC role catalog scrolling within workspace --- web/static/css/style.css | 11 ++++++++++- web/templates/index.html | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/web/static/css/style.css b/web/static/css/style.css index 55f6fbb6..21f0d7eb 100644 --- a/web/static/css/style.css +++ b/web/static/css/style.css @@ -42820,19 +42820,23 @@ html[data-theme="dark"] .workflow-toolbar #workflow-connect-btn[aria-pressed="tr } .rbac-role-management { + display: flex; + flex-direction: column; min-height: 0; + overflow: hidden; padding: 18px; border-radius: 10px; } .rbac-role-management-head { + flex: 0 0 auto; align-items: flex-end; flex-wrap: wrap; row-gap: 12px; } .rbac-role-management-head > div:first-child { - flex: 1 1 320px; + flex: 1 1 auto; min-width: 0; } @@ -42867,7 +42871,12 @@ html[data-theme="dark"] .workflow-toolbar #workflow-connect-btn[aria-pressed="tr } .rbac-role-catalog { + flex: 1 1 auto; + min-height: 0; + overflow-y: auto; + overscroll-behavior: contain; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); + align-content: start; align-items: stretch; } diff --git a/web/templates/index.html b/web/templates/index.html index 01ccf701..7229f601 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -39,7 +39,7 @@ } })(); - +