From a9b969f2f19842c64430de7e48fb6ef3bb61a3bf Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Thu, 22 Jan 2026 14:55:46 +0100 Subject: [PATCH] fix(mobile): increase dialog content max-height to 90vh on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Increases max-height of mat-mdc-dialog-content from default to 90vh on mobile viewports (≤599px) to better utilize available screen space and reduce unnecessary scrolling in dialogs like the schedule task dialog. --- src/styles/components/_overwrite-material.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles/components/_overwrite-material.scss b/src/styles/components/_overwrite-material.scss index ce01ad42a..d9a927681 100644 --- a/src/styles/components/_overwrite-material.scss +++ b/src/styles/components/_overwrite-material.scss @@ -83,6 +83,10 @@ body .mat-mdc-dialog-content { mat-form-field { display: block; } + + @include media-queries.mq(xs, max) { + max-height: 90vh !important; + } } body .mat-mdc-dialog-surface {