Skip to content

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

chore(frontend): move notifications to top right

johaven3935989ab56b
diff --git a/frontend/src/app/app.config.ts b/frontend/src/app/app.config.ts
index 0263c6f7..2985e443 100644
--- a/frontend/src/app/app.config.ts
+++ b/frontend/src/app/app.config.ts
@@ -30,7 +30,7 @@ export const appConfig: ApplicationConfig = {
provideL10nIntl(),
provideAnimations(),
provideToastr({
- positionClass: 'toast-top-center',
+ positionClass: 'toast-top-right',
preventDuplicates: false,
maxOpened: 6,
autoDismiss: true,
diff --git a/frontend/src/styles/components/_notifications.scss b/frontend/src/styles/components/_notifications.scss
index 7a1e7061..5ca93db5 100644
--- a/frontend/src/styles/components/_notifications.scss
+++ b/frontend/src/styles/components/_notifications.scss
@@ -51,10 +51,10 @@
min-width: 240px;
}
-//.toast-top-right {
-// top: 5px !important;
-// right: calc($sidebar-apps-icons-width + 5px) !important;
-//}
+.toast-top-right {
+ top: 5px !important;
+ right: calc($sidebar-apps-icons-width + 5px) !important;
+}
.toast-container .ngx-toastr.toast-success {
--toast-accent: #{$success};