summaryrefslogtreecommitdiff
path: root/web/template/profile.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/profile.tmpl')
-rw-r--r--web/template/profile.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/template/profile.tmpl b/web/template/profile.tmpl
index cfabeee6f..71914b7e7 100644
--- a/web/template/profile.tmpl
+++ b/web/template/profile.tmpl
@@ -5,7 +5,9 @@
<div class="basic">
<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.Avatar}}" class="avatar"><img src="{{.account.Avatar}}"></a>
+ <div class="avatar-container">
+ <a href="{{.account.Avatar}}" class="avatar"><img src="{{.account.Avatar}}"></a>
+ </div>
</div>
<div class="detailed">
<h2>About @{{.account.Username}}</h2>
@@ -44,4 +46,4 @@
label.addEventListener("click", () => {setTimeout(update, 1)});
});
</script>
-{{ template "footer.tmpl" .}} \ No newline at end of file
+{{ template "footer.tmpl" .}}