From 49d4bd86f1e3b7de81d2cb5f3967a316ad1cfb57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20T=C3=A4kker?= Date: Tue, 24 Feb 2026 18:30:39 +0100 Subject: [PATCH] Updated ToastContainer to move above player when visible --- app/components/Player/index.vue | 2 +- app/styles/_variables.scss | 2 ++ app/ui/ToastContainer.vue | 15 ++++++++++++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/app/components/Player/index.vue b/app/components/Player/index.vue index 16092cc..2e7501f 100644 --- a/app/components/Player/index.vue +++ b/app/components/Player/index.vue @@ -127,7 +127,7 @@ const toast = useToast() position: fixed; bottom: 1rem; - height: 72px; + height: $player-height; border-radius: $border-radius-lg; border: 1px solid $color-border; diff --git a/app/styles/_variables.scss b/app/styles/_variables.scss index 122ee7c..6405e14 100644 --- a/app/styles/_variables.scss +++ b/app/styles/_variables.scss @@ -10,3 +10,5 @@ $color-attention: #fc8181; $border-radius-standard: 0.3rem; $border-radius-lg: 0.6rem; + +$player-height: 72px; diff --git a/app/ui/ToastContainer.vue b/app/ui/ToastContainer.vue index ac7085d..2c494d1 100644 --- a/app/ui/ToastContainer.vue +++ b/app/ui/ToastContainer.vue @@ -1,9 +1,10 @@