Minor changes

This commit is contained in:
2018-03-07 14:52:56 +01:00
parent d583d9d6f9
commit 1b0aa76009
6 changed files with 31 additions and 5 deletions

View File

@ -73,8 +73,11 @@ component SettingsPersonal(user *arn.User)
InputImage("cover-input", "File", "/api/upload/cover")
.cover-preview
.cover-preview(title="Recommended: 1920 x 450 | PNG or JPG")
img#cover-input-preview.profile-cover.lazy(data-src=user.CoverLink("small"), data-webp="true", alt="Cover image")
.footer
p PRO account required.
component SettingsNotifications(user *arn.User)
SettingsTabs

View File

@ -19,7 +19,7 @@
.cover-preview
width 100%
height 0
padding-top 25%
padding-top 23.4375%
position relative
margin 0 auto