Skip to content

Commit

Permalink
#15 fix scrolls
Browse files Browse the repository at this point in the history
  • Loading branch information
sauljabin committed Mar 16, 2023
1 parent 532b654 commit 1533304
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kaskade/tui.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Footer > .footer--key {
}

DataTable {
margin: 1;
margin: 0 0 1 0;
}

DataTable > .datatable--header {
Expand Down Expand Up @@ -80,7 +80,7 @@ Help {
}

Title {
margin: 1 1 0 1;
margin: 1 0 0 0;
color: $main-color;
background: $boost;
}
2 changes: 1 addition & 1 deletion kaskade/tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def on_mount(self) -> None:
header.cluster = self.cluster

title = self.query_one(Title)
title.message = Text.from_markup(f"[bold]total topics:[/] {len(self.topics)}")
title.message = Text.from_markup(f"[bold] total topics:[/] {len(self.topics)}")

table = self.query_one(DataTable)
table.cursor_type = "row"
Expand Down

0 comments on commit 1533304

Please sign in to comment.