Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

style(frontend): adjust toast notification position to bottom-right

johaven8710842d617f
diff --git a/frontend/src/app/app.config.ts b/frontend/src/app/app.config.ts
index 16e3eba7..acfeb1e4 100644
--- a/frontend/src/app/app.config.ts
+++ b/frontend/src/app/app.config.ts
@@ -30,7 +30,7 @@ export const appConfig: ApplicationConfig = {
}),
provideL10nIntl(),
provideToastr({
- positionClass: 'toast-top-right',
+ positionClass: 'toast-bottom-right',
preventDuplicates: false,
maxOpened: 6,
autoDismiss: true,
diff --git a/frontend/src/styles/components/_notifications.scss b/frontend/src/styles/components/_notifications.scss
index 5ca93db5..ffa58797 100644
--- a/frontend/src/styles/components/_notifications.scss
+++ b/frontend/src/styles/components/_notifications.scss
@@ -56,6 +56,11 @@
right: calc($sidebar-apps-icons-width + 5px) !important;
}
+.toast-bottom-right {
+ bottom: 5px !important;
+ right: calc($sidebar-apps-icons-width + 5px) !important;
+}
+
.toast-container .ngx-toastr.toast-success {
--toast-accent: #{$success};
--toast-title: #{$success};