From f4e85c571ae92cef7c8cd47f0ee7467bf35d67a2 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 25 Oct 2020 11:36:00 +0000 Subject: Fix CSS issues --- templates/notification.tmpl | 23 ++++++++++------------- templates/status.tmpl | 3 ++- templates/userlist.tmpl | 2 +- 3 files changed, 13 insertions(+), 15 deletions(-) (limited to 'templates') diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 059268a..10eaafc 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -1,15 +1,15 @@ {{with .Data}} {{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
-
+ Notifications {{if and (not $.Ctx.AntiDopamineMode) (gt .UnreadCount 0)}} ({{.UnreadCount }}) {{end}} -
+ refresh {{if .ReadID}} -
+
@@ -17,7 +17,7 @@
{{range .Notifications}} -
+
{{if eq .Type "follow"}}
@@ -28,9 +28,8 @@
{{EmojiFilter .Account.DisplayName .Account.Emojis}} - followed you - - - + followed you - +
@@ -50,9 +49,8 @@ @{{.Account.Acct}} - retweeted your post - - - + retweeted your post - +
{{template "status" (WithContext .Status $.Ctx)}} @@ -65,9 +63,8 @@ @{{.Account.Acct}} - liked your post - - - + liked your post - +
{{template "status" (WithContext .Status $.Ctx)}} diff --git a/templates/status.tmpl b/templates/status.tmpl index 438f023..432c9a6 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -89,6 +89,7 @@ {{if .Content}}
{{StatusContentFilter .SpoilerText .Content .Emojis .Mentions}}
{{end}} + {{if .MediaAttachments}}
{{range .MediaAttachments}} @@ -132,9 +133,9 @@ {{else}} [attachment] {{end}} - {{end}}
+ {{end}} {{if .Poll}}
diff --git a/templates/userlist.tmpl b/templates/userlist.tmpl index ec8884d..0a83bf4 100644 --- a/templates/userlist.tmpl +++ b/templates/userlist.tmpl @@ -1,5 +1,5 @@ {{with .Data}} -
+
{{range .}}
-- cgit v1.2.3