mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
feat: add bg blur for modals (#2110)
* feat: add bg blur for modals * feat: adjust darkness for lightmode
This commit is contained in:
@@ -43,6 +43,7 @@ export default function WrapperModal({
|
||||
|
||||
const modalContent = (
|
||||
<div className="fixed top-0 left-0 z-30 flex h-screen w-screen items-center justify-center">
|
||||
<div className="absolute inset-0 bg-black/25 backdrop-blur-xs dark:bg-black/50" />
|
||||
<div
|
||||
ref={modalRef}
|
||||
className={`relative rounded-2xl bg-white p-8 shadow-[0px_4px_40px_-3px_#0000001A] dark:bg-[#26272E] ${className}`}
|
||||
|
||||
Reference in New Issue
Block a user