Added size and format recommendations
This commit is contained in:
@ -56,9 +56,9 @@ component SettingsPersonal(user *arn.User)
|
||||
|
||||
.profile-image-container.avatar-preview
|
||||
if user.HasAvatar()
|
||||
img#avatar-input-preview.profile-image.mountable(src=user.LargeAvatar(), alt="Profile image")
|
||||
img#avatar-input-preview.profile-image.mountable(src=user.LargeAvatar(), alt="Profile image", title="Recommended: 560 x 560 | PNG or JPG")
|
||||
else
|
||||
img#avatar-input-preview.profile-image.hidden(src=user.LargeAvatar(), alt="Profile image")
|
||||
img#avatar-input-preview.profile-image.hidden(src=user.LargeAvatar(), alt="Profile image", title="Recommended: 560 x 560 | PNG or JPG")
|
||||
|
||||
#avatar-input-preview-svg
|
||||
SVGProfileImage(user)
|
||||
|
@ -14,4 +14,9 @@
|
||||
margin-bottom 1rem
|
||||
|
||||
.avatar-preview
|
||||
margin 0 auto
|
||||
margin 0 auto
|
||||
|
||||
.settings-info-text
|
||||
text-align center
|
||||
font-size 0.9rem
|
||||
opacity 0.5
|
Reference in New Issue
Block a user