Fix sidebar on small height screen

pull/1/head
Made Baruna 2022-06-21 16:13:11 +07:00
parent adc63b61b8
commit ec51507243
1 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@
<div class="w-full rounded-xl ease-in duration-150 {mobile ? '' : 'parent'} {active ? 'active' : ''}">
<div class="flex absolute transform translate-x-full child top-0 bottom-0">
<div class="w-5 h-full" />
<div class="bg-background shadow-lg flex flex-col p-2 -mt-2 rounded-r-xl" style="padding-top: 100%">
<div class="w-10 h-full" />
<div class="bg-background shadow-lg flex flex-col justify-center p-2 -mt-2 rounded-r-xl">
{#each items as item}
<a
on:click={clicked}
@ -105,7 +105,7 @@
.child {
display: none;
right: 1.3rem;
right: 2.5rem;
}
.parent:hover {