mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-01-11 12:31:12 +01:00
Fix sidebar on small height screen
This commit is contained in:
parent
adc63b61b8
commit
ec51507243
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue