Skip to content

Commit e5e8bd5

Browse files
catDforDGargantua
andauthored
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>
1 parent 1ad7e10 commit e5e8bd5

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

dashboard/src/scss/_override.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ html {
1717
flex: unset;
1818
}
1919

20+
.v-overlay.v-snackbar {
21+
--v-layout-left: 0px !important;
22+
--v-layout-right: 0px !important;
23+
}
24+
2025
.customizer-btn .icon {
2126
animation: progress-circular-rotate 1.4s linear infinite;
2227
transform-origin: center center;

dashboard/src/views/ExtensionPage.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ const {
387387
elevation="24"
388388
:color="snack_success"
389389
v-model="snack_show"
390+
location="bottom center"
390391
>
391392
{{ snack_message }}
392393
</v-snackbar>

0 commit comments

Comments
 (0)