From 5fdee1f39f41e8bb84e25cb9ba0d8e3e15736f26 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Wed, 21 Aug 2024 20:22:27 +0100 Subject: [PATCH] fix sizing issue --- src/textual/widgets/_help_panel.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/textual/widgets/_help_panel.py b/src/textual/widgets/_help_panel.py index fe735f2083..3c4259df16 100644 --- a/src/textual/widgets/_help_panel.py +++ b/src/textual/widgets/_help_panel.py @@ -31,7 +31,7 @@ class HelpPanel(Widget): #widget-help { height: auto; max-height: 50%; - width: 100%; + width: 1fr; padding: 0; margin: 0; padding: 1 0; @@ -50,8 +50,9 @@ class HelpPanel(Widget): } KeyPanel#keys-help { - width: 100%; - height: 1fr; + width: 1fr; + height: 1fr; + min-width: initial; split: initial; border-left: none; padding: 0;