summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-07-13 11:28:05 +0200
committerLibravatar GitHub <noreply@github.com>2022-07-13 11:28:05 +0200
commit1d5c737bbb2d9fe0624830591ce622347c84f314 (patch)
tree919349a21f023360d7c71a03944d495d00359816 /web/template
parent[feature] Add back/next buttons to profiles for paging through statuses (#708) (diff)
downloadgotosocial-1d5c737bbb2d9fe0624830591ce622347c84f314.tar.xz
[bugfix] Fix profile card display issues on smaller screens w/responsive query (#696)
* add responsive media query to profile css * break username on all screen sizes if necessary * embed avatar inside header on smaller screen sizes * align items to the left in small screen view * more consistent profile scaling accross firefox and chrome * simplify things a little bit * make sure bio fits in profile * word-break content if necessary Co-authored-by: f0x <f0x@cthu.lu>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/profile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/profile.tmpl b/web/template/profile.tmpl
index 458f68f52..22f192c06 100644
--- a/web/template/profile.tmpl
+++ b/web/template/profile.tmpl
@@ -13,7 +13,7 @@
<div id="profile-basic-filler2"></div>
<a href="{{.account.Avatar}}" class="avatar"><img src="{{.account.Avatar}}" alt="{{if .account.DisplayName}}{{.account.DisplayName}}{{else}}{{.account.Username}}{{end}}'s avatar"></a>
<div class="displayname">{{if .account.DisplayName}}{{.account.DisplayName}}{{else}}{{.account.Username}}{{end}}</div>
- <div class="username">@{{.account.Username}}@{{.instance.AccountDomain}}</div>
+ <div class="username"><span>@{{.account.Username}}</span><span>@{{.instance.AccountDomain}}</span></div>
</div>
<div class="detailed">
<div class="bio">