fix: sidebar toggling on mobile (fr fr)

This commit is contained in:
Phan An 2024-07-25 21:24:39 +02:00
parent 7ae57e3d98
commit 69a019df22
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
</section>
<SidebarToggleButton
class="opacity-0 no-hover:opacity-100 group-hover:opacity-100 transition"
class="opacity-0 no-hover:hidden group-hover:opacity-100 transition"
v-model="expanded"
:class="expanded || 'opacity-100'"
/>

View file

@ -1,6 +1,6 @@
<template>
<label
class="btn-toggle no-hover:flex hidden md:flex w-[24px] aspect-square absolute rounded-full -right-[12px] top-[27px]
class="btn-toggle hidden md:flex w-[24px] aspect-square absolute rounded-full -right-[12px] top-[27px]
items-center justify-center z-10 text-k-text-secondary bg-k-bg-secondary border-[1.5px] border-white/20 cursor-pointer
hover:text-k-text-primary hover:bg-k-highlight"
>