[APP-2160] Flush divider; move footer vertical padding to py_md

Previously the divider's own py_md wrapper plus the footer's py_sm
double-counted the spacing and pushed the footer further from the
divider than Figma. Make the divider flush against the article block
and the footer, and bump the footer to py_md so the 12px gap below
the divider line is owned by the footer itself.
This commit is contained in:
vineyardbovines
2026-05-12 13:48:29 -04:00
committed by Eric Bailey
parent b636597b38
commit c418f7a3df
2 changed files with 2 additions and 4 deletions
@@ -40,7 +40,7 @@ export function PublicationFooter({
a.flex_row,
a.align_center,
a.px_md,
a.py_sm,
a.py_md,
a.transition_color,
{gap: 10},
hovered ? t.atoms.bg_contrast_25 : null,
@@ -103,9 +103,7 @@ export function PublicationEmbed({
</View>
)}
</Link>
<View style={[a.py_md]}>
<Divider />
</View>
<Divider />
<PublicationFooter source={source} />
{/*
Note: `source.theme` (background/foreground/accent/accentForeground