diff --git a/frontend/src/app/guards/auth.guard.ts b/frontend/src/app/guards/auth.guard.ts index 993acbf..60ac5fa 100644 --- a/frontend/src/app/guards/auth.guard.ts +++ b/frontend/src/app/guards/auth.guard.ts @@ -23,7 +23,9 @@ export class AuthGuard implements CanActivate { ): Observable | Promise | boolean | UrlTree { if (!this.authService.checkAuthStatus()) { this.router.createUrlTree(['/']); - const dialogRef = this.dialog.open(LoginDialogComponent); + const dialogRef = this.dialog.open(LoginDialogComponent, { + width: '400px', + }) return dialogRef.afterClosed().pipe( map(result => { if (result) {