diff --git a/src/django_tui/management/commands/ish.py b/src/django_tui/management/commands/ish.py index 034c94a..56b4dfd 100644 --- a/src/django_tui/management/commands/ish.py +++ b/src/django_tui/management/commands/ish.py @@ -7,7 +7,7 @@ from textual import events from textual.app import ComposeResult from textual.binding import Binding -from textual.containers import Vertical,HorizontalScroll +from textual.containers import Vertical,HorizontalScroll,VerticalScroll from textual.widgets import ( Footer, Label, @@ -312,10 +312,8 @@ def compose(self) -> ComposeResult: indent_guides=True, theme="dracula", ) - with Vertical(id="dialog"): - yield HorizontalScroll( - Label(syntax,expand=True) - ) + with VerticalScroll(id="dialog"): + yield Label(syntax) class InteractiveShellScreen(Screen): diff --git a/src/django_tui/management/commands/trogon.scss b/src/django_tui/management/commands/trogon.scss index f1b448c..53e90a8 100644 --- a/src/django_tui/management/commands/trogon.scss +++ b/src/django_tui/management/commands/trogon.scss @@ -300,7 +300,7 @@ Select.command-form-select:focus SelectCurrent { grid-gutter: 1 2; grid-rows: 1fr 3; padding: 0 1; - width: 90; + width: 95; height: 20; border: thick $background 80%; background: $surface;