From bc12d7ae3dbcf3de7c162dedfb5b2dd1a1e70056 Mon Sep 17 00:00:00 2001 From: JaredScar Date: Fri, 23 Jan 2026 17:22:56 -0500 Subject: [PATCH] Update dialog component styles to enhance drawer behavior by changing height to full screen and adding sticky footer for improved layout and user experience. --- libs/components/src/dialog/dialog/dialog.component.html | 5 +++-- libs/components/src/dialog/dialog/dialog.component.ts | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libs/components/src/dialog/dialog/dialog.component.html b/libs/components/src/dialog/dialog/dialog.component.html index f81f0594218..ae83e879190 100644 --- a/libs/components/src/dialog/dialog/dialog.component.html +++ b/libs/components/src/dialog/dialog/dialog.component.html @@ -3,7 +3,7 @@ class="tw-flex tw-w-full tw-flex-col tw-self-center tw-overflow-hidden tw-border tw-border-solid tw-border-secondary-100 tw-bg-background tw-text-main" [ngClass]="[ width(), - isDrawer ? 'tw-h-full tw-border-t-0' : 'tw-rounded-t-xl md:tw-rounded-xl tw-shadow-lg', + isDrawer ? 'tw-h-screen tw-border-t-0' : 'tw-rounded-t-xl md:tw-rounded-xl tw-shadow-lg', ]" cdkTrapFocus > @@ -84,13 +84,14 @@ [ngClass]="{ 'tw-border-transparent': !showFooterBorder, 'tw-border-secondary-100': showFooterBorder, + 'tw-sticky tw-bottom-0 tw-z-10': isDrawer, }" data-chromatic="ignore" >