summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-07-09 13:37:06 +0200
committerLibravatar GitHub <noreply@github.com>2022-07-09 13:37:06 +0200
commit211266c0725dde354777425a1fe571e9bd1dddf8 (patch)
treeba7d276b93c4d0f24f6de7fb1badff99a7c4ed9a /web/template
parent[frontend] Fix up status 'show more' and z-index (#701) (diff)
downloadgotosocial-211266c0725dde354777425a1fe571e9bd1dddf8.tar.xz
[bugfix] Fix display names in thread view causing wrapping issues on small screens (#698)
* use account.Acct for username * allow username + displayname to wrap with ellipses * use span 2 for displayname always * remove commented-out line
Diffstat (limited to 'web/template')
-rw-r--r--web/template/status.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/status.tmpl b/web/template/status.tmpl
index f03fdbef6..c477428fc 100644
--- a/web/template/status.tmpl
+++ b/web/template/status.tmpl
@@ -1,7 +1,7 @@
<div class="contentgrid">
<a href="{{.Account.URL}}" class="avatar"><img src="{{.Account.Avatar}}" alt=""></a>
<a href="{{.Account.URL}}" class="displayname">{{if .Account.DisplayName}}{{.Account.DisplayName}}{{else}}{{.Account.Username}}{{end}}</a>
- <a href="{{.Account.URL}}" class="username">@{{.Account.Username}}</a>
+ <a href="{{.Account.URL}}" class="username">@{{.Account.Acct}}</a>
<div class="text">
{{if .SpoilerText}}
<input class="spoiler" id="hideSpoiler-{{.ID}}" type="checkbox" style="display: none" aria-hidden="true" checked="true" />