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.
This commit is contained in:
Claude
2026-08-30 17:19:02 +00:00
parent 35b547f88e
commit eb1ef5788c
@@ -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%);