From 72eeb13e4d11efea2c71255c8d1f72d8a501fc40 Mon Sep 17 00:00:00 2001 From: Daniel Aleksandersen Date: Wed, 2 Sep 2020 20:42:28 +0200 Subject: [PATCH] Set avatar image dimensions (#12654) Set the avatar image dimensions to help browsers avoid layout reflows. Helps page load performance and user experience (less content jank). Co-authored-by: Lauris BH Co-authored-by: Lunny Xiao Co-authored-by: techknowlogick --- templates/user/profile.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/user/profile.tmpl b/templates/user/profile.tmpl index 2de8dc95b56..ecfc7e6544c 100644 --- a/templates/user/profile.tmpl +++ b/templates/user/profile.tmpl @@ -6,11 +6,11 @@
{{if eq .SignedUserName .Owner.Name}} - + {{else}} - + {{end}}