mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
changelog
This commit is contained in:
@@ -18,7 +18,7 @@ class DictionaryApp(App):
|
||||
CSS_PATH = "dictionary.tcss"
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Input(placeholder="Search for a word")
|
||||
yield Input(placeholder="Search for a word", id="dictionary-search")
|
||||
with VerticalScroll(id="results-container"):
|
||||
yield Markdown(id="results")
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ Screen {
|
||||
background: $panel;
|
||||
}
|
||||
|
||||
Input {
|
||||
Input#dictionary-search {
|
||||
dock: top;
|
||||
margin: 1 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user