@@ -11,17 +11,12 @@ export const FileNotFoundError: React.FC<FileNotFoundErrorProps> = ({ filePaths
1111 const isMultiple = paths . length > 1
1212
1313 return (
14- < div
15- style = { {
16- marginTop : "8px" ,
17- marginBottom : "8px" ,
18- } } >
14+ < div >
1915 < div
2016 style = { {
2117 display : "flex" ,
2218 alignItems : "center" ,
2319 gap : "10px" ,
24- marginBottom : "8px" ,
2520 fontSize : "var(--vscode-font-size)" ,
2621 color : "var(--vscode-editor-foreground)" ,
2722 } } >
@@ -38,32 +33,29 @@ export const FileNotFoundError: React.FC<FileNotFoundErrorProps> = ({ filePaths
3833 { isMultiple ? t ( "chat:fileOperations.filesNotFound" ) : t ( "chat:fileOperations.fileNotFound" ) }
3934 </ span >
4035 </ div >
41- < div
42- style = { {
43- paddingLeft : "26px" , // Align with text after icon (16px icon + 10px gap)
44- } } >
45- { paths . map ( ( path , index ) => (
46- < div
47- key = { index }
48- style = { {
49- fontFamily : "var(--vscode-editor-font-family)" ,
50- fontSize : "var(--vscode-editor-font-size)" ,
51- marginBottom : index === paths . length - 1 ? "8px" : "4px" ,
52- wordBreak : "break-all" ,
53- color : "var(--vscode-foreground)" ,
54- } } >
55- < code > { path } </ code >
56- </ div >
57- ) ) }
36+ { paths . map ( ( path , index ) => (
5837 < div
38+ key = { index }
5939 style = { {
60- color : "var(--vscode-descriptionForeground)" ,
61- fontSize : "var(--vscode-font-size)" ,
40+ fontFamily : "var(--vscode-editor-font-family)" ,
41+ fontSize : "var(--vscode-editor-font-size)" ,
42+ marginTop : index === 0 ? "10px" : "4px" ,
43+ marginBottom : "4px" ,
44+ wordBreak : "break-all" ,
45+ color : "var(--vscode-foreground)" ,
6246 } } >
63- { isMultiple
64- ? t ( "chat:fileOperations.filesNotFoundMessage" )
65- : t ( "chat:fileOperations.fileNotFoundMessage" ) }
47+ < code > { path } </ code >
6648 </ div >
49+ ) ) }
50+ < div
51+ style = { {
52+ color : "var(--vscode-descriptionForeground)" ,
53+ fontSize : "var(--vscode-font-size)" ,
54+ marginTop : "4px" ,
55+ } } >
56+ { isMultiple
57+ ? t ( "chat:fileOperations.filesNotFoundMessage" )
58+ : t ( "chat:fileOperations.fileNotFoundMessage" ) }
6759 </ div >
6860 </ div >
6961 )
0 commit comments