Added size and format recommendations

This commit is contained in:
Eduard Urbach 2018-03-03 19:54:00 +01:00
parent 33fbe44881
commit a1c3fc5468
3 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,6 @@
component ImportLists(user *arn.User)
if user.Accounts.AniList.Nick == "" && user.Accounts.Kitsu.Nick == "" && user.Accounts.MyAnimeList.Nick == ""
p Import your list once you enter your username!
p.settings-info-text Import your list once you enter your username!
if user.Accounts.AniList.Nick != ""
label AniList:

View File

@ -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)

View File

@ -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