updates
This commit is contained in:
@@ -3,7 +3,7 @@ import { createPortal } from 'react-dom'
|
||||
export default function SlidePanel({ onClose, maxWidth = '420px', header, children }) {
|
||||
return createPortal(
|
||||
<>
|
||||
<div className="fixed inset-0 bg-black/20 z-[9998]" onClick={onClose} />
|
||||
<div className="fixed inset-0 bg-black/40 backdrop-blur-sm animate-backdrop-in z-[9998]" onClick={onClose} />
|
||||
<div
|
||||
className="fixed top-0 right-0 h-full w-full bg-white shadow-2xl z-[9998] flex flex-col animate-slide-in-right overflow-hidden"
|
||||
style={{ maxWidth }}
|
||||
|
||||
Reference in New Issue
Block a user