fix: adjusted btn z-index and hide on small screens (#317)

This commit is contained in:
Kevin Kwong 2024-05-30 19:27:39 +08:00 committed by GitHub
parent 6bd1dd140d
commit b555986eeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,7 @@ useEventListener(categoriesContainer, 'wheel', (e: WheelEvent) => {
<button
fixed top="50%" flex="~ items-end justify-center" w-5 h-8
icon-button transition-all duration-300
border="t r b base rounded-r-full" z-100
border="t r b base rounded-r-full" z-10 max-md:hidden
title="Toggle Sidebar"
:style="{ left: drawerCollapsed ? '0px' : '250px' }"
@click="drawerCollapsed = !drawerCollapsed"