From a1c3fc54686da6103c1f7d315d2509257227bc96 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 3 Mar 2018 19:54:00 +0100 Subject: [PATCH] Added size and format recommendations --- pages/listimport/listimport.pixy | 2 +- pages/settings/settings.pixy | 4 ++-- pages/settings/settings.scarlet | 7 ++++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/pages/listimport/listimport.pixy b/pages/listimport/listimport.pixy index 411103ca..869e1e2a 100644 --- a/pages/listimport/listimport.pixy +++ b/pages/listimport/listimport.pixy @@ -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: diff --git a/pages/settings/settings.pixy b/pages/settings/settings.pixy index be6dcbc2..5fdd26f6 100644 --- a/pages/settings/settings.pixy +++ b/pages/settings/settings.pixy @@ -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) diff --git a/pages/settings/settings.scarlet b/pages/settings/settings.scarlet index caf499d7..dca971ca 100644 --- a/pages/settings/settings.scarlet +++ b/pages/settings/settings.scarlet @@ -14,4 +14,9 @@ margin-bottom 1rem .avatar-preview - margin 0 auto \ No newline at end of file + margin 0 auto + +.settings-info-text + text-align center + font-size 0.9rem + opacity 0.5 \ No newline at end of file