fix: Add cursor-pointer for iOS Safari backdrop click
This commit is contained in:
@@ -330,7 +330,7 @@ pub fn App() -> impl IntoView {
|
|||||||
on:click=move |_| set_show_mobile_sidebar.set(false)
|
on:click=move |_| set_show_mobile_sidebar.set(false)
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="fixed inset-0 bg-black/60 backdrop-blur-sm transition-opacity"
|
class="fixed inset-0 bg-black/60 backdrop-blur-sm transition-opacity cursor-pointer"
|
||||||
></div>
|
></div>
|
||||||
<aside
|
<aside
|
||||||
class={format!("relative w-80 max-w-[85vw] h-full shadow-2xl p-6 flex flex-col animate-in slide-in-from-left duration-300 border-r {}", sidebar_bg)}
|
class={format!("relative w-80 max-w-[85vw] h-full shadow-2xl p-6 flex flex-col animate-in slide-in-from-left duration-300 border-r {}", sidebar_bg)}
|
||||||
|
|||||||
Reference in New Issue
Block a user