From 4a83c22261e4e35de7366c9b815ef72d3555e5d9 Mon Sep 17 00:00:00 2001 From: r Date: Sun, 22 Dec 2019 03:43:25 +0000 Subject: Fix css and template issues --- templates/notification.tmpl | 24 +++++++++++++++--------- templates/postform.tmpl | 2 +- templates/status.tmpl | 17 ++++++++++------- templates/user.tmpl | 7 ++++++- 4 files changed, 32 insertions(+), 18 deletions(-) (limited to 'templates') diff --git a/templates/notification.tmpl b/templates/notification.tmpl index 271597b..e46ce8a 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -6,9 +6,11 @@
{{if eq .Type "follow"}}
- - profile-avatar - +
+ + profile-avatar + +
{{EmojiFilter .Account.DisplayName .Account.Emojis}} @@ -26,9 +28,11 @@ {{else if eq .Type "reblog"}}
- - profile-avatar - +
+ + profile-avatar + +
{{EmojiFilter .Account.DisplayName .Account.Emojis}} @@ -41,9 +45,11 @@ {{else if eq .Type "favourite"}}
- - profile-avatar - +
+ + profile-avatar + +
{{EmojiFilter .Account.DisplayName .Account.Emojis}} diff --git a/templates/postform.tmpl b/templates/postform.tmpl index 137232f..309e139 100644 --- a/templates/postform.tmpl +++ b/templates/postform.tmpl @@ -10,7 +10,7 @@
- diff --git a/templates/status.tmpl b/templates/status.tmpl index a89fc78..7ec7d29 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -1,7 +1,7 @@
{{if .Reblog}}
- + profile-avatar {{EmojiFilter .Account.DisplayName .Account.Emojis}} @@ -12,13 +12,13 @@ {{else}} {{block "status" .}}
-
- {{if not .HideAccountInfo}} - + {{if not .HideAccountInfo}} +
+ profile-avatar - {{end}}
+ {{end}}
{{if not .HideAccountInfo}} {{end}}
@@ -56,7 +59,7 @@
{{range .MediaAttachments}} {{if eq .Type "image"}} - + status-image {{else if eq .Type "audio"}} diff --git a/templates/user.tmpl b/templates/user.tmpl index e1a782a..ccb0e4a 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -5,12 +5,17 @@