Fix thread post spacing #4
@@ -241,7 +241,7 @@ final class BlueskyThreadsExtension extends Minz_Extension {
|
|||||||
$repliesHtml .= $this->renderThread($reply, false, $rootAuthorDid);
|
$repliesHtml .= $this->renderThread($reply, false, $rootAuthorDid);
|
||||||
}
|
}
|
||||||
if ($repliesHtml !== '') {
|
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 .= $repliesHtml;
|
||||||
$html .= '</div>';
|
$html .= '</div>';
|
||||||
}
|
}
|
||||||
@@ -263,7 +263,7 @@ final class BlueskyThreadsExtension extends Minz_Extension {
|
|||||||
$embedHtml = $embed !== null ? $this->renderEmbed($embed) : '';
|
$embedHtml = $embed !== null ? $this->renderEmbed($embed) : '';
|
||||||
|
|
||||||
$rootStyle = 'border:1px solid #cfd9de;border-radius:12px;padding:12px 16px;margin-bottom:12px;';
|
$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;
|
$style = $isRoot ? $rootStyle : $replyStyle;
|
||||||
|
|
||||||
return <<<HTML
|
return <<<HTML
|
||||||
|
|||||||
Reference in New Issue
Block a user