Skip to content

Commit

Permalink
similar sidebar styling improv
Browse files Browse the repository at this point in the history
  • Loading branch information
samlhuillier committed Nov 29, 2023
1 parent 6ebd76f commit 9db2079
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions src/components/Similarity/SimilarFilesSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const SimilarEntriesComponent: React.FC<SimilarEntriesComponentProps> = ({
{similarEntries.map((entry, index) => (
<div
key={index}
className="p-10 bg-white shadow-md rounded-lg cursor-pointer hover:scale-104 hover:shadow-lg transition-transform duration-300"
className="pr-2 pb-1 bg-white shadow-md rounded-lg cursor-pointer hover:scale-104 hover:shadow-lg transition-transform duration-300"
onClick={() => onFileSelect(entry.notepath)}
>
<p className="text-gray-700">
Expand All @@ -72,25 +72,6 @@ const SimilarEntriesComponent: React.FC<SimilarEntriesComponentProps> = ({
</div>
))}
</div>
// <div className="w-full h-full overflow-y-auto bg-blue-200">
// {loading ? (
// <p className=" text-gray-600">Loading...</p>
// ) : (
// <div className="w-full space-y-4 bg-yellow-200">
// {similarEntries.map((entry, index) => (
// <div
// key={index}
// className="p-10 bg-white shadow-md rounded-lg cursor-pointer hover:scale-104 hover:shadow-lg transition-transform duration-300"
// onClick={() => onFileSelect(entry.notepath)}
// >
// <p className="text-gray-700">
// <span className="text-gray-500">{entry.content}</span>
// </p>
// </div>
// ))}
// </div>
// )}
// </div>
);
};

Expand Down

0 comments on commit 9db2079

Please sign in to comment.