feat: add Textual CSS stylesheet for TUI layout

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 12:46:52 -05:00
parent 641672e4c7
commit 623ed14cbf
2 changed files with 33 additions and 0 deletions

0
app/ui/__init__.py Normal file
View File

33
app/ui/styles.tcss Normal file
View File

@@ -0,0 +1,33 @@
/* SneakyCode TUI Layout */
Screen {
layout: vertical;
}
#chat-log {
height: 1fr;
border: none;
scrollbar-gutter: stable;
}
#streaming {
display: none;
height: auto;
max-height: 50%;
padding: 0 1;
}
#streaming.visible {
display: block;
}
/* StatusBar styles are in DEFAULT_CSS on the widget itself */
Input {
dock: bottom;
margin: 0;
}
Header {
dock: top;
}