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 <noreply@anthropic.com>
This commit was merged in pull request #4.
This commit is contained in:
@@ -241,7 +241,7 @@ final class BlueskyThreadsExtension extends Minz_Extension {
|
||||
$repliesHtml .= $this->renderThread($reply, false, $rootAuthorDid);
|
||||
}
|
||||
if ($repliesHtml !== '') {
|
||||
$html .= '<div class="bsky-replies" style="border-left:2px solid #e1e8ed;margin-left:24px;padding-left:0;">';
|
||||
$html .= '<div class="bsky-replies" style="border-left:2px solid #e1e8ed;margin-left:24px;padding-left:12px;">';
|
||||
$html .= $repliesHtml;
|
||||
$html .= '</div>';
|
||||
}
|
||||
@@ -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 <<<HTML
|
||||
|
||||
Reference in New Issue
Block a user