commit e0b1393b343b0c3b695736ffa5aeb8a190790795
parent 47a3a5ec69083d8fc4182f68f92ba4af1a6748e6
Author: FIGBERT <figbert@figbert.com>
Date: Sun, 10 Dec 2023 15:13:01 -0800
Fix first-line comment indentation issue
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/comments/comments.go b/comments/comments.go
@@ -41,7 +41,7 @@ func Load(post api.Post) tea.Cmd {
)),
)
- composite := fmt.Sprintf("%s\n%s", headline, cmnt)
+ composite := fmt.Sprintf("%s\n %s", headline, cmnt)
margin := gloss.NewStyle().MarginLeft(2 * comment.Depth)
page.WriteString("\n\n" + margin.Render(composite))
}