Skip to content

Commit

Permalink
Add bottom margin to read online only when download link present
Browse files Browse the repository at this point in the history
  • Loading branch information
dgcohen committed Oct 3, 2023
1 parent 07e4fcf commit 0baabf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DRB/DRBCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const DRBCard = ({ drbResult }: DRBCardProps) => {
href={drbResult.readOnlineUrl}
target="_blank"
type="buttonPrimary"
mb="s"
mb={drbResult?.downloadLink ? "s" : ""}
>
Read Online
</DSLink>
Expand Down

0 comments on commit 0baabf7

Please sign in to comment.