Skip to content

Commit

Permalink
Fix search box result count wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
kognise committed Apr 11, 2023
1 parent 6078ea7 commit 2b78fc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/search-box.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@
.results {
font-size: 0.9rem;
width: 80px;
text-overflow: ellipsis;
white-space: nowrap;
user-select: none;
}
.results.error {
color: var(--error);
Expand Down
1 change: 0 additions & 1 deletion src/components/search-box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export default function SearchBox({ query, cursor, runCommand }: SearchBoxProps)
'Escape': () => runCommand(closeSearchPanel),
'$mod+F': (event) => {
event.preventDefault()
// findInput.current!.focus()
findInput.current!.select()
}
}),
Expand Down

0 comments on commit 2b78fc9

Please sign in to comment.