diff --git a/frontend/src/app/app.component.scss b/frontend/src/app/app.component.scss index 4ee2f9252..c68b0caad 100644 --- a/frontend/src/app/app.component.scss +++ b/frontend/src/app/app.component.scss @@ -23,6 +23,12 @@ opacity: 1; } +@media (max-width: 500px) { + .sidenav { + width: 100% !important; + } +} + .sidenav-content { background-color: whitesmoke; } diff --git a/frontend/src/app/ui/dashboard/dashboard.component.html b/frontend/src/app/ui/dashboard/dashboard.component.html index 8c332c4b9..d6057ade9 100644 --- a/frontend/src/app/ui/dashboard/dashboard.component.html +++ b/frontend/src/app/ui/dashboard/dashboard.component.html @@ -54,7 +54,7 @@ - + diff --git a/frontend/src/app/ui/dashboard/dashboard.component.scss b/frontend/src/app/ui/dashboard/dashboard.component.scss index db898c1dc..4b28f6550 100644 --- a/frontend/src/app/ui/dashboard/dashboard.component.scss +++ b/frontend/src/app/ui/dashboard/dashboard.component.scss @@ -121,7 +121,7 @@ .plan-card, .description-card { - min-width: 712px; + min-width: min(100%, 712px); background: #ffffff 0% 0% no-repeat padding-box; box-shadow: 0px 3px 6px #0000001a; border-radius: 4px; diff --git a/frontend/src/app/ui/dashboard/dashboard.component.ts b/frontend/src/app/ui/dashboard/dashboard.component.ts index 3cba5ff49..099a8482c 100644 --- a/frontend/src/app/ui/dashboard/dashboard.component.ts +++ b/frontend/src/app/ui/dashboard/dashboard.component.ts @@ -112,7 +112,8 @@ export class DashboardComponent extends BaseComponent implements OnInit { disableClose: false, data: { isDialog: true - } + }, + maxWidth: '600px' }); } } @@ -140,7 +141,8 @@ export class DashboardComponent extends BaseComponent implements OnInit { data: { startNewPlan: false, formGroup: formGroup - } + }, + maxWidth: '600px' }); dialogRef.afterClosed().pipe(takeUntil(this._destroyed)).subscribe(result => { if (result) { diff --git a/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html b/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html index 3faa82b3b..92caaa812 100644 --- a/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html +++ b/frontend/src/app/ui/dashboard/recent-edited-activity/recent-edited-activity.component.html @@ -21,7 +21,7 @@