From e96617a676f3c60c9d448a0b0d4d1f5eb3f213f3 Mon Sep 17 00:00:00 2001 From: Thomas Hunter Date: Fri, 19 Feb 2021 11:53:39 +0100 Subject: [PATCH] [AAE-4637] Fix varying height of dialog when clicking on the Upload from your device tab (#6690) --- .../content-node-selector.component.scss | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/lib/content-services/src/lib/content-node-selector/content-node-selector.component.scss b/lib/content-services/src/lib/content-node-selector/content-node-selector.component.scss index 23bcc9f205..a107b0a14e 100644 --- a/lib/content-services/src/lib/content-node-selector/content-node-selector.component.scss +++ b/lib/content-services/src/lib/content-node-selector/content-node-selector.component.scss @@ -10,12 +10,27 @@ } } + .mat-tab-body-wrapper { + flex-grow: 1; + } + + .mat-tab-body-content { + display: flex; + flex-direction: column; + } + + adf-upload-drag-area { + flex-grow: 1; + } + .adf-upload-dialog { &__content { - max-height: 64%; + max-height: unset; } + display: flex; + flex-direction: column; height: 100%; width: 100%; position: unset; @@ -23,12 +38,15 @@ } .adf-upload-dialog-container { - height: 456px; + flex-grow: 1; + height: 100%; } } .adf-content-node-selector-dialog { &-content { + height: 465px; + max-height: 80vh; padding-left: 24px; padding-right: 24px; }