Skip to content

Commit a62b793

Browse files
committed
significantly improve styling for projects list
1 parent e075eb3 commit a62b793

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/project-summary.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ const ProjectSummary: React.FC<ProjectSummaryProps> = ({
3737
fill
3838
className="object-cover rounded"
3939
/>
40-
<div className="absolute inset-0 dark:bg-black bg-white opacity-80"></div>
41-
<div className="relative z-10 p-2">
40+
<div className="w-full h-full relative z-10 p-2 hover:opacity-0 dark:bg-black bg-white dark:opacity-90 opacity:90 transition-opacity duration-500">
4241
<h2 className="text-lg font-bold">{title}</h2>
4342
<p className="text-sm">{dateWorked}</p>
4443
<p className="text-sm pt-2" dangerouslySetInnerHTML={{ __html: description }}></p>

0 commit comments

Comments
 (0)