Skip to content

Commit d47c820

Browse files
upsetbitclaude
andcommitted
fix(panel): even spacing between the session detail header pills
Drop the kind-badges margin-left and match its gap to the parent .sp-agent, so the agent-to-kind gap equals the gap between kind pills. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b128bd5 commit d47c820

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

internal/panel/assets/css/components/kind-badge.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
read well. Pairs with the kindBadge Go template helper in
77
internal/panel/server.go. */
88

9+
/* No margin-left: the parent .sp-agent already spaces children with its own
10+
gap, so an extra margin here made the agent→kind gap wider than the gap
11+
between kinds. One gap for all the header pills. */
912
.kind-badges {
1013
display: inline-flex;
11-
gap: var(--space-1);
12-
margin-left: var(--space-2);
14+
gap: var(--space-2);
1315
vertical-align: middle;
1416
}
1517

0 commit comments

Comments
 (0)