mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
fix(vscode): style No results as neutral text, not an error
This commit is contained in:
@@ -117,7 +117,7 @@ export const TranscriptSearch: Component = () => {
|
||||
<span data-slot="transcript-search-error">{language.t("chat.search.invalidRegex")}</span>
|
||||
</Show>
|
||||
<Show when={!search.invalid() && search.query().length > 0 && search.count() === 0}>
|
||||
<span data-slot="transcript-search-error">{language.t("chat.search.noResults")}</span>
|
||||
<span data-slot="transcript-search-empty">{language.t("chat.search.noResults")}</span>
|
||||
</Show>
|
||||
<Show when={!search.invalid() && search.count() > 0}>
|
||||
<span data-slot="transcript-search-counter">
|
||||
|
||||
@@ -350,6 +350,13 @@
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
[data-slot="transcript-search-empty"] {
|
||||
font-size: var(--kilo-font-size-11);
|
||||
color: var(--vscode-descriptionForeground);
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
[data-slot="transcript-search-nav"] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user