From e5e8bd5d31d47638aa5ff5c8110453611f8e9a7e Mon Sep 17 00:00:00 2001 From: Gargantua <124801228+catDforD@users.noreply.github.com> Date: Thu, 26 Mar 2026 19:36:05 +0800 Subject: [PATCH] feat(dashboard): center extension page toast hints with the global UI (#6043) * fix(dashboard): align extension page snackbar with full UI center (#6022) * fix(dashboard): align snackbars with full UI center (#6022) --------- Co-authored-by: Gargantua <22532097@zju.edu.cn> --- dashboard/src/scss/_override.scss | 5 +++++ dashboard/src/views/ExtensionPage.vue | 1 + 2 files changed, 6 insertions(+) diff --git a/dashboard/src/scss/_override.scss b/dashboard/src/scss/_override.scss index 178c37da6..25f8ec86b 100644 --- a/dashboard/src/scss/_override.scss +++ b/dashboard/src/scss/_override.scss @@ -17,6 +17,11 @@ html { flex: unset; } +.v-overlay.v-snackbar { + --v-layout-left: 0px !important; + --v-layout-right: 0px !important; +} + .customizer-btn .icon { animation: progress-circular-rotate 1.4s linear infinite; transform-origin: center center; diff --git a/dashboard/src/views/ExtensionPage.vue b/dashboard/src/views/ExtensionPage.vue index 05a79a532..13d4eac3b 100644 --- a/dashboard/src/views/ExtensionPage.vue +++ b/dashboard/src/views/ExtensionPage.vue @@ -387,6 +387,7 @@ const { elevation="24" :color="snack_success" v-model="snack_show" + location="bottom center" > {{ snack_message }}