From 4d6f64b97e0f6b994d499b7494cdc2b16d8222b1 Mon Sep 17 00:00:00 2001 From: Roman Vyakhirev Date: Tue, 15 Sep 2026 10:01:04 +0200 Subject: [PATCH] fix(atlas-core): use --suggested-height CSS variable for textarea auto-grow Replace the library's inline height!important with a CSS variable approach. The auto-grow library now sets --suggested-height on the textarea node; Atlas picks it up via min-height so customers can override sizing in their own styles without fighting inline !important declarations. --- .../src/themesource/atlas_core/web/core/widgets/_input.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/atlas/src/themesource/atlas_core/web/core/widgets/_input.scss b/packages/atlas/src/themesource/atlas_core/web/core/widgets/_input.scss index d0b4228db..f34288ca3 100644 --- a/packages/atlas/src/themesource/atlas_core/web/core/widgets/_input.scss +++ b/packages/atlas/src/themesource/atlas_core/web/core/widgets/_input.scss @@ -128,6 +128,10 @@ flex-basis: auto; } + .mx-textarea textarea.form-control { + min-height: var(--suggested-height); + } + .mx-compound-control { display: flex; flex: 1;