From 153aedeb78c605bb73cca7e45aa5a1245292d85e Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Wed, 29 May 2024 19:02:06 +0200 Subject: feat: add relative positioning to notification container --- src/frontend/tubo/notifications/views.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/frontend') diff --git a/src/frontend/tubo/notifications/views.cljs b/src/frontend/tubo/notifications/views.cljs index b5acf01..facc2fc 100644 --- a/src/frontend/tubo/notifications/views.cljs +++ b/src/frontend/tubo/notifications/views.cljs @@ -5,7 +5,7 @@ (defn notification-content [{:keys [failure parse-error status status-text] :as notification}] (when notification - [:div.flex.flex-col.justify-center.pl-4.pr-8.py-4.rounded.backdrop-blur.shadow.shadow-neutral-700 + [:div.relative.flex.flex-col.justify-center.pl-4.pr-8.py-4.rounded.backdrop-blur.shadow.shadow-neutral-700 {:class (case failure :success ["bg-green-600/90" "text-white"] :error ["bg-red-600/90" "text-white"] -- cgit v1.2.3