File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,18 @@ const ulStyle = {
1515 overflowWrap : 'break-word' ,
1616} as const
1717
18+ const codeStyle = {
19+ fontSize : 'var(--vscode-font-size)' ,
20+ } as const
21+
1822function Empty ( { query } : { query : SearchQuery } ) {
1923 const { inputValue, includeFile } = query
2024 if ( ! inputValue ) {
2125 return null
2226 }
2327 return (
2428 < div style = { style } >
25- No results found for < code > { inputValue } </ code >
29+ No results found for < code style = { codeStyle } > { inputValue } </ code >
2630 { includeFile ? ` in '${ includeFile } '` : null } .
2731 < br />
2832 If this is not expected, you can try:
@@ -61,12 +65,13 @@ const SearchProviderMessage = memo(
6165 if ( error ) {
6266 return (
6367 < div style = { style } >
64- Error occurs when running < code > ast-grep</ code > .< br />
68+ Error occurs when running < code style = { codeStyle } > ast-grep</ code > .
69+ < br />
6570 Make sure you{ ' ' }
6671 < VSCodeLink href = "https://ast-grep.github.io/guide/quick-start.html#installation" >
6772 installed the binary
6873 </ VSCodeLink > { ' ' }
69- and the command < code > ast-grep</ code > is accessible{ ' ' }
74+ and the command < code style = { codeStyle } > ast-grep</ code > is accessible{ ' ' }
7075 < VSCodeLink href = "https://github.com/ast-grep/ast-grep-vscode/issues/133#issuecomment-1943153446" >
7176 by your editor
7277 </ VSCodeLink >
You can’t perform that action at this time.
0 commit comments