Fix sidebar layout (#204)

* fix: sidebar margins with more than one item incorrect

* fix: api url in sidebar shouldn't overflow the sidebar width
This commit is contained in:
Zack Pollard 2022-06-06 03:12:12 +01:00 committed by GitHub
parent b9f38162d5
commit 5b036067ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 7 deletions

View file

@ -75,7 +75,7 @@
{/if}
<section class="grid grid-cols-[250px_auto] relative pt-[72px] h-screen">
<section id="admin-sidebar" class="pt-8 pr-6 flex flex-col justify-between">
<section id="admin-sidebar" class="pt-8 pr-6 flex flex-col">
<SideBarButton
title="User"
logo={AccountMultipleOutline}
@ -84,7 +84,7 @@
on:selected={onButtonClicked}
/>
<div class="mb-6">
<div class="mb-6 mt-auto">
<StatusBox />
</div>
</section>