From 63ecbe3b6d6698bbb690b74a57ce0500039f9c23 Mon Sep 17 00:00:00 2001 From: Reece Browne <74901996+reecebrowne@users.noreply.github.com> Date: Fri, 12 Jun 2026 13:39:03 +0100 Subject: [PATCH] Policies: centre the collapsed-rail policy button between its dividers (#6646) --- .../editor/src/proprietary/components/policies/Policies.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/editor/src/proprietary/components/policies/Policies.css b/frontend/editor/src/proprietary/components/policies/Policies.css index 4102183a5..637e30d38 100644 --- a/frontend/editor/src/proprietary/components/policies/Policies.css +++ b/frontend/editor/src/proprietary/components/policies/Policies.css @@ -424,6 +424,11 @@ align-items: center; gap: var(--space-1); flex-shrink: 0; + /* The collapsed-rail dividers carry 8px of space below them only, so the + divider above gives the row 8px of headroom while the one below (rendered + straight after) hugs it. Match that 8px underneath so the row sits centred + between the two dividers. */ + margin-bottom: 8px; } .pol-crail-btn { position: relative;