Skip to content

Commit

Permalink
fix: flag position
Browse files Browse the repository at this point in the history
  • Loading branch information
kyziq committed Jan 11, 2024
1 parent b3844b6 commit 16f8e41
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/pages/ArtDescription.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@ const ArtInfo = ({ artItem }) => (
<span className="font-semibold">Dimensions: </span>
{artItem.dimensions}
</p>
<div className="flex items-center">
<p>
<span className="font-semibold">Location: </span>
<span className="ml-2">{artItem.location}</span>
<FlagImage countryCode={artItem.countryCode} />
</div>
{artItem.location}
<span style={{ display: 'inline-flex', alignItems: 'center' }}>
<FlagImage countryCode={artItem.countryCode} />
</span>
</p>
</CardBody>
</Card>
);
Expand Down

0 comments on commit 16f8e41

Please sign in to comment.