From 633c43502adfa8c0dc3bdbab3d6183efb3c25f35 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Tue, 22 Apr 2025 20:36:36 +0200 Subject: [PATCH] fix weird sizing of SubmittableTextArea .. by removing the top & bottom borders. For some reason these appeared not to be accounted when sizing the widget to its content? not sure. anyway this improves it. --- src/chap/commands/tui.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chap/commands/tui.css b/src/chap/commands/tui.css index 32011f4..151cb96 100644 --- a/src/chap/commands/tui.css +++ b/src/chap/commands/tui.css @@ -58,4 +58,4 @@ Markdown { margin: 0 1 0 0; } -SubmittableTextArea { height: 3 } +SubmittableTextArea { height: auto; min-height: 5; margin: 0; border: none; border-left: heavy $primary }