mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-21 20:29:20 +02:00
visible profile banner
This commit is contained in:
parent
306b0fe3b3
commit
baa1176144
1
README
1
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
|
||||
|
|
|
@ -632,7 +632,7 @@ kbd {
|
|||
}
|
||||
|
||||
.profile-banner {
|
||||
height: 120px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.block-label,
|
||||
|
|
|
@ -130,6 +130,16 @@
|
|||
{{- EmojiFilter .User.Note .User.Emojis | Raw -}}
|
||||
</div>
|
||||
</details>
|
||||
{{if .User.Header}}
|
||||
<details>
|
||||
<summary>Banner</summary>
|
||||
<div class="user-profile-img-container">
|
||||
<a class="img-link" href="{{.User.Header}}" target="_blank">
|
||||
<img class="profile-banner" src="{{.User.Header}}" alt="profile-header" height="500" loading="lazy" />
|
||||
</a>
|
||||
</div>
|
||||
</details>
|
||||
{{end}}
|
||||
{{if .User.Fields}}
|
||||
<div class="user-fields">
|
||||
{{range .User.Fields}}
|
||||
|
|
Loading…
Reference in New Issue