From e03e887f7650a6cc6cbec228f867f9e96acad493 Mon Sep 17 00:00:00 2001 From: Mohammed Abad Date: Sun, 28 Apr 2024 00:22:16 +0100 Subject: [PATCH] changed style and used flatpickr calendar --- .../seen-modal/seen-modal.component.css | 32 -------------- .../seen-modal/seen-modal.component.html | 43 ++++++++++--------- .../modals/seen-modal/seen-modal.component.ts | 27 +++++++----- 3 files changed, 39 insertions(+), 63 deletions(-) diff --git a/frontend/src/app/shared/components/modals/seen-modal/seen-modal.component.css b/frontend/src/app/shared/components/modals/seen-modal/seen-modal.component.css index b6e64b0..e69de29 100644 --- a/frontend/src/app/shared/components/modals/seen-modal/seen-modal.component.css +++ b/frontend/src/app/shared/components/modals/seen-modal/seen-modal.component.css @@ -1,32 +0,0 @@ -.mod-container { - padding: 20px; - background-color: var(--bs-body-bg) !important; - border-right: 1px solid var(--bs-border-color); - -} - -.mod-container .form-group, -.mod-container .form-group input{ - margin-top: 5px; -} - -.mod-container { - display: flex; - flex-direction: column; - height: 100%; /* Adjust this to match the modal container's height */ -} - -.modal-body { - flex: 1 0 auto; /* This will make the body expand to fill the available space */ -} - -.modal-footer { - margin-top: 10px; - flex-shrink: 0; /* This ensures the footer does not shrink */ -} - -.modal-footer button{ - margin-left: 5px; - color: var(--bs-border-color); -} - diff --git a/frontend/src/app/shared/components/modals/seen-modal/seen-modal.component.html b/frontend/src/app/shared/components/modals/seen-modal/seen-modal.component.html index 6701e2e..b13cf3c 100644 --- a/frontend/src/app/shared/components/modals/seen-modal/seen-modal.component.html +++ b/frontend/src/app/shared/components/modals/seen-modal/seen-modal.component.html @@ -1,26 +1,27 @@ - -
-