fix: banner seemed too big

This commit is contained in:
Spectralitree 2021-12-11 18:41:32 +01:00
parent c93df9b144
commit d62ae4ad35

View File

@ -55,6 +55,6 @@
{@html htmlDescription} {@html htmlDescription}
</div> </div>
{#if user.banner && settings && settings.appearance.banner_bottom} {#if user.banner && settings && settings.appearance.banner_bottom}
<img src={user.banner} alt="your system banner" class="w-100 mb-3 rounded" style="max-height: 15em; object-fit: cover"/> <img src={user.banner} alt="your system banner" class="w-100 mb-3 rounded" style="max-height: 12em; object-fit: cover"/>
{/if} {/if}
<Button style="flex: 0" color="primary" on:click={() => editMode = true}>Edit</Button> <Button style="flex: 0" color="primary" on:click={() => editMode = true}>Edit</Button>