From 59ca1999e68fa5dc9d0470ee78ffa869b8a2c7b5 Mon Sep 17 00:00:00 2001 From: James Griffin Date: Sun, 5 Apr 2026 09:57:25 -0300 Subject: [PATCH] Fix thread post spacing: add reply padding and increase margins Replies had no left padding from the border (padding-left:0) and too-tight vertical spacing (margin:4px). Bump to padding-left:12px and margin:8px. Closes #2 Co-Authored-By: Claude Opus 4.6 --- extension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extension.php b/extension.php index 8184632..57a58ca 100644 --- a/extension.php +++ b/extension.php @@ -241,7 +241,7 @@ final class BlueskyThreadsExtension extends Minz_Extension { $repliesHtml .= $this->renderThread($reply, false, $rootAuthorDid); } if ($repliesHtml !== '') { - $html .= '
'; + $html .= '
'; $html .= $repliesHtml; $html .= '
'; } @@ -263,7 +263,7 @@ final class BlueskyThreadsExtension extends Minz_Extension { $embedHtml = $embed !== null ? $this->renderEmbed($embed) : ''; $rootStyle = 'border:1px solid #cfd9de;border-radius:12px;padding:12px 16px;margin-bottom:12px;'; - $replyStyle = 'padding:10px 12px;margin:4px 0;'; + $replyStyle = 'padding:10px 12px;margin:8px 0;'; $style = $isRoot ? $rootStyle : $replyStyle; return <<