mirror of
https://github.com/antfu-collective/icones.git
synced 2026-01-09 07:40:49 +08:00
fix: adjusted btn z-index and hide on small screens (#317)
This commit is contained in:
parent
6bd1dd140d
commit
b555986eeb
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user