Skip to content

Commit

Permalink
update styling for + icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jojortz committed Aug 20, 2024
1 parent 41bd4fa commit 123c1a5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/components/SustainabilityReport/FilesContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ const FilesContainer = ({ reports, projectId }: FilesContainerProps) => {
return (
<div className="relative flex flex-wrap gap-2 max-w-[250px] h-full overflow-y-auto p-2 rounded group">
<div
className="absolute hidden top-0 right-2 p-1 cursor-pointer bg-blue-gray-100 hover:bg-gray-300 rounded-lg group-hover:block"
className="absolute hidden top-0 right-2 p-1 cursor-pointer bg-blue-gray-50 hover:bg-gray-300 rounded-lg group-hover:block"
onClick={handleAddFile}
>
<Plus size={16} />
</div>
{reports.map((report, i) => (
<FileTag key={i} report={report} />
))}
<div className="flex flex-col gap-2 py-6">
{reports.map((report, i) => (
<FileTag key={i} report={report} />
))}
</div>
</div>
);
};
Expand Down

0 comments on commit 123c1a5

Please sign in to comment.