Skip to content

Commit

Permalink
Fix image sizing in cards
Browse files Browse the repository at this point in the history
  • Loading branch information
kenos1 committed Dec 21, 2023
1 parent c81b69e commit d3b0c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/cards/ObjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function ObjectCard({ obj, path }: ObjectCardProps) {
alt={`Image of ${obj.name}`}
width={100}
height={100}
className="w-24 h-24"
priority
/>
)}
Expand Down
2 changes: 1 addition & 1 deletion components/cards/PageCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function PageCard({
width={100}
height={100}
alt={`${title} page image`}
className=""
className="w-24 h-24"
/>
</div>
<div className="flex-1">
Expand Down

0 comments on commit d3b0c5d

Please sign in to comment.