aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2024-05-29 19:02:06 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2024-05-29 19:02:06 +0200
commit153aedeb78c605bb73cca7e45aa5a1245292d85e (patch)
tree547556d784352ec259ef9b555e75c30db27c1b99 /src
parent00a1e136776c37d71045fc1dbb9e09b7b7fa2576 (diff)
feat: add relative positioning to notification container
Diffstat (limited to 'src')
-rw-r--r--src/frontend/tubo/notifications/views.cljs2
1 files changed, 1 insertions, 1 deletions
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"]