From df9bc67220baf3ee7e02587a7f8cfe19461ae549 Mon Sep 17 00:00:00 2001 From: Ajay Ghanwat Date: Tue, 30 Sep 2025 17:58:07 +0530 Subject: [PATCH] New Changes with Model fixxed bugges --- src/components/Modal.astro | 56 +++---- src/pages/modal.astro | 300 +++++++++++++++++++------------------ 2 files changed, 185 insertions(+), 171 deletions(-) diff --git a/src/components/Modal.astro b/src/components/Modal.astro index f704654..3b25a2b 100644 --- a/src/components/Modal.astro +++ b/src/components/Modal.astro @@ -9,6 +9,7 @@ interface Props { closedby?: "none" | "closerequest" | "any"; onClose?: () => void; dialogClass?: string; + triggerClass?: string; } const { @@ -19,38 +20,37 @@ const { onClose, closedby = "none", dialogClass = "", + triggerClass = "", } = Astro.props; --- -
-
- -
- - - +
+
+ + +