From eb1ef5788cdbe7c6e23ab48029069971e58cd11c Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 30 Aug 2026 17:19:02 +0000 Subject: [PATCH] fix(operator): let the group header size to its content The header had a fixed height, so a title taller than 2.5rem was clipped and the follow offset kept placing the running event behind it. Trim the vertical padding so a single line fits inside the min-height on its own. The header then keeps the size it has today without depending on the list shrinking it, and grows when its content needs more. The follow offset already measures the header at scroll time, so it tracks the change. --- .../operator/operator-group/OperatorGroup.module.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/client/src/features/operator/operator-group/OperatorGroup.module.scss b/apps/client/src/features/operator/operator-group/OperatorGroup.module.scss index 87e280881..e37c00736 100644 --- a/apps/client/src/features/operator/operator-group/OperatorGroup.module.scss +++ b/apps/client/src/features/operator/operator-group/OperatorGroup.module.scss @@ -1,8 +1,9 @@ .group { width: 100%; - /* Fixed: title and meta never wrap, and the group wrapper keeps the list from shrinking the header. */ - height: 2.5rem; - padding: 0.4rem 0.75rem; + /* Padding is kept under the min-height so a single line fits without the list having to shrink the header, + while a taller title still grows the row. */ + min-height: 2.5rem; + padding: 0.25rem 0.75rem; border-left: 0.35rem solid var(--group-colour, $gray-500); background-color: $gray-1350; background: color-mix(in srgb, transparent 88%, var(--group-colour, $gray-500) 12%);