Skip to content

Commit

Permalink
Merge pull request #361 from GenomicDataInfrastructure/ART-6883/fix-a…
Browse files Browse the repository at this point in the history
…lignment

fix: alignment of tile and dates on small screens
  • Loading branch information
brunopacheco1 authored Jul 29, 2024
2 parents 3007d26 + 1b72eb2 commit e612ec9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/requests/entitlements/EntitlementCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function EntitlementCard({

return (
<>
<div className="flex justify-between">
<div className="flex justify-between flex-col space-y-2 md:flex-row md:space-y-0 md:items-center">
<Link href={`/datasets/${dataset.id}`} className="hover:underline">
<h3 className="text-xl text-primary md:text-2xl">{dataset.title}</h3>
</Link>
Expand All @@ -43,7 +43,9 @@ function EntitlementCard({
</p>
</div>
</div>
<p className="mb-4 text-sm text-info md:text-base">{dataset.catalogue}</p>
<p className="mt-4 md:mt-0 mb-4 text-sm text-info md:text-base">
{dataset.catalogue}
</p>
{truncatedDesc && (
<p className="mb-4 text-xs md:text-sm">{truncatedDesc}</p>
)}
Expand Down

0 comments on commit e612ec9

Please sign in to comment.