mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-21 19:41:28 +00: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
|
- tag timeline
|
||||||
- visible edited post time
|
- visible edited post time
|
||||||
- visible quoted post (status in status)
|
- visible quoted post (status in status)
|
||||||
|
- visible profile banner in spoiler
|
||||||
- hide boosts in spoiler
|
- hide boosts in spoiler
|
||||||
- hide NSFW content and attachments in spoiler
|
- hide NSFW content and attachments in spoiler
|
||||||
- some micro visual changes
|
- some micro visual changes
|
||||||
|
|
|
@ -632,7 +632,7 @@ kbd {
|
||||||
}
|
}
|
||||||
|
|
||||||
.profile-banner {
|
.profile-banner {
|
||||||
height: 120px;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block-label,
|
.block-label,
|
||||||
|
|
|
@ -130,6 +130,16 @@
|
||||||
{{- EmojiFilter .User.Note .User.Emojis | Raw -}}
|
{{- EmojiFilter .User.Note .User.Emojis | Raw -}}
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</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}}
|
{{if .User.Fields}}
|
||||||
<div class="user-fields">
|
<div class="user-fields">
|
||||||
{{range .User.Fields}}
|
{{range .User.Fields}}
|
||||||
|
|
Loading…
Reference in a new issue