From a7d8b5e22f58ec1d4b34c4cda23b3e8612e1c987 Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Mon, 7 Sep 2026 10:27:46 +0100 Subject: [PATCH] fix(maestro): keep the draft first when the composer wraps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The attach button precedes the draft in the DOM, so under the ≤520px wrap rule it took a line of its own above the textarea. An explicit order puts the draft back on the first line and groups every control below it. Co-Authored-By: Claude Opus 5 (1M context) --- web/src/styles.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/styles.css b/web/src/styles.css index 29c33e5..30495cb 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -3214,8 +3214,11 @@ input.leaf-rename:focus { padding-right: var(--sp-2); } + /* `order` keeps the draft on the first line: without it the attach button, + which precedes it in the DOM, wraps onto a line of its own. */ .structured-input-wrap { flex: 1 1 100%; + order: -1; } .structured-composer .structured-config {