Skip to content

Commit

Permalink
update similar files styling
Browse files Browse the repository at this point in the history
  • Loading branch information
samlhuillier committed Dec 16, 2023
1 parent 0ffe03e commit ee9ae8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Settings/LLMSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const AIModelManager: React.FC = () => {
<input
className="w-full p-2 mb-2 text-black box-border"
type="text"
placeholder="Local Path"
placeholder="Local Path (.gguf file)"
name="localPath"
value={currentConfig.localPath}
onChange={handleInputChange}
Expand Down
5 changes: 3 additions & 2 deletions src/components/Similarity/SimilarFilesSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ const SimilarEntriesComponent: React.FC<SimilarEntriesComponentProps> = ({
}, [filePath]);

return (
<div className="w-full h-full overflow-y-auto overflow-x-hidden space-y-4">
<div className="w-full h-full overflow-y-auto overflow-x-hidden mt-0">
{similarEntries.map((entry, index) => (
<div
key={index}
className="pr-2 pb-1 bg-white shadow-md rounded-lg cursor-pointer hover:scale-104 hover:shadow-lg transition-transform duration-300"
className="pr-2 pb-1 mt-0 text-white pt-1 border-l-0 border-r-0 border-solid border-white pl-2 shadow-md cursor-pointer hover:scale-104 hover:shadow-lg transition-transform duration-300"
style={{ backgroundColor: "#1F2937" }}
onClick={() => onFileSelect(entry.notepath)}
>
{/* <p className="text-gray-700">
Expand Down

0 comments on commit ee9ae8a

Please sign in to comment.