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) component ImportLists(user *arn.User)
if user.Accounts.AniList.Nick == "" && user.Accounts.Kitsu.Nick == "" && user.Accounts.MyAnimeList.Nick == "" 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 != "" if user.Accounts.AniList.Nick != ""
label AniList: label AniList:

View File

@ -56,9 +56,9 @@ component SettingsPersonal(user *arn.User)
.profile-image-container.avatar-preview .profile-image-container.avatar-preview
if user.HasAvatar() 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 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 #avatar-input-preview-svg
SVGProfileImage(user) SVGProfileImage(user)

View File

@ -15,3 +15,8 @@
.avatar-preview .avatar-preview
margin 0 auto margin 0 auto
.settings-info-text
text-align center
font-size 0.9rem
opacity 0.5