From 57f5c5dc61e16f7a1b150e3d5c2129520680b2d6 Mon Sep 17 00:00:00 2001 From: Sirawit Chanaburanasak Date: Sun, 22 Dec 2024 23:55:35 +0700 Subject: [PATCH] fix: lint --- .../Modal/ChangePasswordModal.svelte | 266 ++++----- .../Backoffice/Modal/ConfirmationModal.svelte | 121 ++-- .../Modal/CreateDocumentModal.svelte | 273 +++++---- .../Modal/CreateStatisticModal.svelte | 304 +++++----- .../Backoffice/Modal/EditUserModal.svelte | 233 ++++---- .../Backoffice/Modal/FileRankingModal.svelte | 532 +++++++++--------- .../components/BackofficePlayground.svelte | 164 +++--- src/routes/+layout.svelte | 1 - 8 files changed, 957 insertions(+), 937 deletions(-) diff --git a/src/lib/components/Backoffice/Modal/ChangePasswordModal.svelte b/src/lib/components/Backoffice/Modal/ChangePasswordModal.svelte index 3ef8d6e..963a6c9 100644 --- a/src/lib/components/Backoffice/Modal/ChangePasswordModal.svelte +++ b/src/lib/components/Backoffice/Modal/ChangePasswordModal.svelte @@ -1,142 +1,150 @@ {#if open} - open = false} - > - + {/if} \ No newline at end of file + dialog::backdrop { + display: none; + } + diff --git a/src/lib/components/Backoffice/Modal/ConfirmationModal.svelte b/src/lib/components/Backoffice/Modal/ConfirmationModal.svelte index 3a0ea8b..8bcc2cd 100644 --- a/src/lib/components/Backoffice/Modal/ConfirmationModal.svelte +++ b/src/lib/components/Backoffice/Modal/ConfirmationModal.svelte @@ -1,75 +1,70 @@ {#if isOpen} - isOpen = false} - > - - + (isOpen = false)}> + + {/if} - diff --git a/src/lib/components/Backoffice/Modal/CreateDocumentModal.svelte b/src/lib/components/Backoffice/Modal/CreateDocumentModal.svelte index 52fcf7f..a8e49f7 100644 --- a/src/lib/components/Backoffice/Modal/CreateDocumentModal.svelte +++ b/src/lib/components/Backoffice/Modal/CreateDocumentModal.svelte @@ -1,152 +1,151 @@ {#if isOpen} - isOpen = false} - > - + {/if} \ No newline at end of file + dialog::backdrop { + display: none; + } + diff --git a/src/lib/components/Backoffice/Modal/CreateStatisticModal.svelte b/src/lib/components/Backoffice/Modal/CreateStatisticModal.svelte index 54a753d..a1ee67a 100644 --- a/src/lib/components/Backoffice/Modal/CreateStatisticModal.svelte +++ b/src/lib/components/Backoffice/Modal/CreateStatisticModal.svelte @@ -1,163 +1,167 @@ {#if open} - open = false} - > -