From 7dcc293a09dd258e73c6223b8dbf69bfcdcfc535 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 27 Jun 2025 10:03:18 +0800 Subject: [PATCH] fix mobile toast --- package.json | 4 ++-- src/styles/custom.scss | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 65f51f0b..ab07daed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "moviepilot", - "version": "2.5.8", + "version": "2.5.9", "private": true, "type": "module", "bin": "dist/service.js", @@ -112,4 +112,4 @@ "workbox-window": "^7.3.0" }, "packageManager": "yarn@1.22.18" -} +} \ No newline at end of file diff --git a/src/styles/custom.scss b/src/styles/custom.scss index 125d20e5..1dcf205b 100644 --- a/src/styles/custom.scss +++ b/src/styles/custom.scss @@ -53,6 +53,18 @@ html.v-overlay-scroll-blocked { margin-block: env(safe-area-inset-top) env(safe-area-inset-bottom); } +@media only screen and (width <= 600px){ + .Vue-Toastification__container { + inline-size: 100vw; + padding-block: 4.5rem; + padding-inline: 1rem; + } + + .Vue-Toastification__toast { + border-radius: 8px; + } +} + .v-dialog > .v-overlay__content > .v-card > .v-card-item { padding: 16px; }