From d1e96023aaf46b10904e08fac5724f7cbbc99e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 28 Apr 2025 22:07:40 +0200 Subject: [PATCH] Set direction to column for text and richtext widget Such that the toolbar is put on top and the input is taking the remaining vertical space. Closes #13986 --- sao/src/sao.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sao/src/sao.less b/sao/src/sao.less index 79a24d210b..8e89668175 100644 --- a/sao/src/sao.less +++ b/sao/src/sao.less @@ -1131,9 +1131,11 @@ img.icon { } .form-text, .form-richtext { display: flex; + flex-direction: column; .input-group { display: flex; + height: 100%; width: 100%; textarea, .richtext { @@ -1142,6 +1144,7 @@ img.icon { min-height: 12.5ex; overflow: auto; resize: vertical; + width: 100%; } > span { @@ -1153,6 +1156,9 @@ img.icon { > .btn-toolbar { min-width: 450px; } + > .panel-body { + flex-grow: 2; + } } .form-separator { label {