From 9fd773524467ccc6694006ea46f84709b124fac4 Mon Sep 17 00:00:00 2001 From: FernandoAscencio <48699277+FernandoAscencio@users.noreply.github.com> Date: Wed, 8 Mar 2023 08:48:39 -0500 Subject: [PATCH] core: update dialog styling (#12254) The commit updates the styling of dialogs which would previously include additional height or padding which would give a bad user-experience. The change now means that dialogs have a proper height with respect to their content. Signed-off-by: FernandoAscencio --- packages/core/src/browser/style/dialog.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/core/src/browser/style/dialog.css b/packages/core/src/browser/style/dialog.css index 53d51e851776f..9ccd4025fc436 100644 --- a/packages/core/src/browser/style/dialog.css +++ b/packages/core/src/browser/style/dialog.css @@ -33,7 +33,6 @@ display: flex; flex-direction: column; min-width: 400px; - min-height: 150px; color: var(--theia-editorWidget-foreground); background-color: var(--theia-editorWidget-background); border: 1px solid var(--theia-contrastBorder); @@ -59,7 +58,6 @@ .p-Widget.dialogOverlay .dialogContent { display: flex; - flex-grow: 2; flex-direction: column; align-items: stretch; position: relative;