Skip to content

Commit

Permalink
fix date display in image galery
Browse files Browse the repository at this point in the history
  • Loading branch information
Zajaczkowskim committed Sep 29, 2024
1 parent 4e9ba2d commit 3bf551c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parent_app/src/components/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Card = ({ image, weight, hour, date, face }) => {
}}
className="bg-white rounded-lg p-4 mb-4 shadow-md items-center" style={{ width: '350px', height: '150px' }}>
<div>
<p className="text-black border-b-2 text-xl pl-4">{date}</p>
<p className="text-black border-b-2 text-xl text-left pl-2">{date}</p>
</div>
<div className="w-full h-full flex">
{/* Left side: Image */}
Expand Down

0 comments on commit 3bf551c

Please # to comment.