[frontend] Fix #923 and markdown css (#925)

* fix url in CONTRIBUTING.md

* prevent img from overflow and allow to center the img

* fix #923 and guide browser to select entire username
This commit is contained in:
Mia Heidenstedt
2022-11-02 09:04:23 +01:00
committed by GitHub
parent 4a925e49b1
commit 29a71cf828
4 changed files with 11 additions and 2 deletions

View File

@@ -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}}{{emojify .account.Emojis (escape .account.DisplayName)}}{{else}}{{.account.Username}}{{end}}</div>
<div class="username"><span>@{{.account.Username}}</span><span>@{{.instance.AccountDomain}}</span></div>
<div class="username">@{{.account.Username}}@{{.instance.AccountDomain}}</div>
</div>
<div class="detailed">
<div class="bio">