Skip to content

Commit

Permalink
Merge pull request #3298 from davep/command-palette-visual-tweaks
Browse files Browse the repository at this point in the history
Command palette visual tweaks
  • Loading branch information
davep authored Sep 13, 2023
2 parents 26e9833 + 5c9c6fc commit ccc3e7a
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 63 deletions.
8 changes: 4 additions & 4 deletions src/textual/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class CommandList(OptionList, can_focus=False):
CommandList {
visibility: hidden;
border-top: blank;
border-bottom: hkey $accent;
border-bottom: hkey $primary;
border-left: none;
border-right: none;
height: auto;
Expand Down Expand Up @@ -352,7 +352,7 @@ class CommandPalette(ModalScreen[CallbackType], inherit_css=False):
CommandPalette #--input {
height: auto;
visibility: visible;
border: hkey $accent;
border: hkey $primary;
background: $panel;
}
Expand All @@ -379,7 +379,7 @@ class CommandPalette(ModalScreen[CallbackType], inherit_css=False):
height: auto;
visibility: hidden;
background: $panel;
border-bottom: hkey $accent;
border-bottom: hkey $primary;
}
CommandPalette LoadingIndicator.--visible {
Expand Down Expand Up @@ -475,7 +475,7 @@ def compose(self) -> ComposeResult:
with Vertical():
with Horizontal(id="--input"):
yield SearchIcon()
yield CommandInput(placeholder="Search...")
yield CommandInput(placeholder="Command Palette Search...")
if not self.run_on_select:
yield Button("\u25b6")
with Vertical(id="--results"):
Expand Down
Loading

0 comments on commit ccc3e7a

Please sign in to comment.