From baa1176144b131feefbd998f2b5c4435b8662f71 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Mon, 6 Nov 2023 02:31:53 +0300 Subject: [PATCH] visible profile banner --- README | 1 + static/style.css | 2 +- templates/user.tmpl | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README b/README index 48e244a..f921586 100644 --- a/README +++ b/README @@ -11,6 +11,7 @@ Changes (localhost_custom fork): - tag timeline - visible edited post time - visible quoted post (status in status) +- visible profile banner in spoiler - hide boosts in spoiler - hide NSFW content and attachments in spoiler - some micro visual changes diff --git a/static/style.css b/static/style.css index d59a9a6..2da7325 100644 --- a/static/style.css +++ b/static/style.css @@ -632,7 +632,7 @@ kbd { } .profile-banner { - height: 120px; + width: 100%; } .block-label, diff --git a/templates/user.tmpl b/templates/user.tmpl index 47efc3a..4b5e92e 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -130,6 +130,16 @@ {{- EmojiFilter .User.Note .User.Emojis | Raw -}} + {{if .User.Header}} +
+ Banner + +
+ {{end}} {{if .User.Fields}}
{{range .User.Fields}}