From 84eac50e0d9ae4cc685f499d64451f1a06b8d784 Mon Sep 17 00:00:00 2001 From: Roman Vyakhirev Date: Tue, 15 Sep 2026 10:01:35 +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 ee1cf7d39..738bd6b62 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 @@ -121,6 +121,10 @@ flex-basis: auto; } + .mx-textarea textarea.form-control { + min-height: var(--suggested-height); + } + .mx-compound-control { display: flex; flex: 1;