Skip to content

Commit efcc0c0

Browse files
committed
Add comment explaining CSS separator pattern
Co-authored-by: malwilley
1 parent e5e7f7b commit efcc0c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

static/app/components/groupMetaRow.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ const GroupExtra = styled('div')`
162162
color: ${p => p.theme.tokens.interactive.link.accent.hover};
163163
}
164164
165+
/* Adds a 1px vertical separator between visible siblings, automatically
166+
skipping children that render null */
165167
& > * + * {
166168
margin-left: ${p => p.theme.space.sm};
167169
padding-left: ${p => p.theme.space.sm};

0 commit comments

Comments
 (0)