From bb5ee85c345083195b96fa9bc18e2e6f28a7fc94 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Fri, 3 Nov 2023 01:20:55 +0300 Subject: [PATCH] hide boosts by default --- static/style.css | 5 +++-- templates/status.tmpl | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index 175d1df..5a49503 100644 --- a/static/style.css +++ b/static/style.css @@ -4,7 +4,7 @@ frame, body { .status-container-container { margin: 0 -4px 12px -4px; - padding: 4px; + padding: 2px; border-left: 4px solid transparent; } @@ -145,7 +145,8 @@ frame, body { } .retweet-info { - margin: 0 0 4px 24px; + margin: -1% 0 0 24px; + background-color: gainsboro; overflow-wrap: break-word; } diff --git a/templates/status.tmpl b/templates/status.tmpl index b509ca4..823a5b5 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -1,6 +1,8 @@ {{with .Data}}
{{if .Reblog}} +
+ + {{template "status" (WithContext .Reblog $.Ctx)}} +
{{else}} {{block "status" (WithContext . $.Ctx)}} {{with $s := .Data}}