Skip to content

Commit

Permalink
add rounded corners for images
Browse files Browse the repository at this point in the history
  • Loading branch information
AshrafMd-1 committed Feb 4, 2024
1 parent c952b9a commit 5b3d922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/Facility/FacilityCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ export const FacilityCard = (props: { facility: any; userType: any }) => {
<div className="flex gap-5">
<Link
href={`/facility/${facility.id}`}
className="group relative z-0 hidden h-[150px] min-h-[150px] w-[150px] min-w-[150px] items-center justify-center self-stretch bg-gray-300 min-[425px]:flex"
className="group relative z-0 hidden h-[150px] min-h-[150px] w-[150px] min-w-[150px] items-center justify-center self-stretch rounded-md bg-gray-300 min-[425px]:flex"
>
{(facility.read_cover_image_url && (
<img
src={facility.read_cover_image_url}
alt={facility.name}
className="h-full w-full object-cover"
className="h-full w-full rounded-md object-cover"
/>
)) || (
<i className="fas fa-hospital block text-4xl text-gray-500" />
Expand Down

0 comments on commit 5b3d922

Please sign in to comment.