From 6cb4819ec7c66ebb8aafb84854a975b95e4e8394 Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Mon, 16 Feb 2026 16:32:25 -0500 Subject: [PATCH] Minor changes to event modal --- resources/css/lib/modal.css | 57 ----- .../views/event/partials/form-modal.blade.php | 2 +- resources/views/event/partials/form.blade.php | 201 +++++++++--------- 3 files changed, 102 insertions(+), 158 deletions(-) diff --git a/resources/css/lib/modal.css b/resources/css/lib/modal.css index c2deeda..c027c99 100644 --- a/resources/css/lib/modal.css +++ b/resources/css/lib/modal.css @@ -84,60 +84,3 @@ dialog { } } } - -/** - * tabs using
and - */ -dialog:has(.modal-tabs) { - @apply items-start justify-items-center; - - #modal { - @apply relative; - max-height: 85dvh; - max-width: 48rem; - top: 10dvh; - } - - form.modal { - @apply !block; - } -} - -.modal-tab { - - > summary { - @apply sticky left-6 w-32 flex flex-row gap-2; - top: 6rem; - - &::before { - @apply bg-gray-10; - } - - &::after { - @apply hidden; - } - } - - &:nth-of-type(2) { - > summary { top: 8.75rem; } - } - &:nth-of-type(3) { - > summary { top: 11.5rem; } - } - &:nth-of-type(4) { - > summary { top: 14.25rem; } - } - &:nth-of-type(5) { - > summary { top: 17rem; } - } - - &[open] { - > summary::before { - @apply bg-gray-100; - } - } - - div.tab-content { - @apply flex flex-col gap-4 pl-40 pt-4 min-h-48; - } -} diff --git a/resources/views/event/partials/form-modal.blade.php b/resources/views/event/partials/form-modal.blade.php index 741b8f0..779c515 100644 --- a/resources/views/event/partials/form-modal.blade.php +++ b/resources/views/event/partials/form-modal.blade.php @@ -1,4 +1,4 @@ - +

{{ $event->exists ? __('Edit event details') : __('Create a new event') }}

diff --git a/resources/views/event/partials/form.blade.php b/resources/views/event/partials/form.blade.php index 054846c..af981cd 100644 --- a/resources/views/event/partials/form.blade.php +++ b/resources/views/event/partials/form.blade.php @@ -13,7 +13,7 @@
-
+
{{-- Title --}}
@@ -114,126 +114,127 @@ />
-
+
- - +
+