Skip to content

Commit

Permalink
Merge branch 'feat/add_interactive_shell' of https://github.com/shtay…
Browse files Browse the repository at this point in the history
…eb/django-tui into feat/add_interactive_shell
  • Loading branch information
shtayeb committed Dec 19, 2023
2 parents b260b8e + 08ad5ef commit ad871f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/django_tui/management/commands/ish.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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):

Expand Down
2 changes: 1 addition & 1 deletion src/django_tui/management/commands/trogon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ad871f3

Please sign in to comment.