From c418f7a3df64022e287ff37f18ec7ef6ff24bfe3 Mon Sep 17 00:00:00 2001 From: vineyardbovines Date: Tue, 12 May 2026 13:48:29 -0400 Subject: [PATCH] [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. --- .../ExternalEmbed/PublicationEmbed/PublicationFooter.tsx | 2 +- .../Post/Embed/ExternalEmbed/PublicationEmbed/index.tsx | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Post/Embed/ExternalEmbed/PublicationEmbed/PublicationFooter.tsx b/src/components/Post/Embed/ExternalEmbed/PublicationEmbed/PublicationFooter.tsx index bc886c6dc2..4ccbfada04 100644 --- a/src/components/Post/Embed/ExternalEmbed/PublicationEmbed/PublicationFooter.tsx +++ b/src/components/Post/Embed/ExternalEmbed/PublicationEmbed/PublicationFooter.tsx @@ -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, diff --git a/src/components/Post/Embed/ExternalEmbed/PublicationEmbed/index.tsx b/src/components/Post/Embed/ExternalEmbed/PublicationEmbed/index.tsx index e1881a8f53..700dc7edeb 100644 --- a/src/components/Post/Embed/ExternalEmbed/PublicationEmbed/index.tsx +++ b/src/components/Post/Embed/ExternalEmbed/PublicationEmbed/index.tsx @@ -103,9 +103,7 @@ export function PublicationEmbed({ )} - - - + {/* Note: `source.theme` (background/foreground/accent/accentForeground