From 0baabf7173af98eb6623194834a425f17eb27a8e Mon Sep 17 00:00:00 2001 From: Diego Cohen Date: Tue, 3 Oct 2023 13:37:49 -0400 Subject: [PATCH] Add bottom margin to read online only when download link present --- src/components/DRB/DRBCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DRB/DRBCard.tsx b/src/components/DRB/DRBCard.tsx index 16850a45a..c16ba1e22 100644 --- a/src/components/DRB/DRBCard.tsx +++ b/src/components/DRB/DRBCard.tsx @@ -50,7 +50,7 @@ const DRBCard = ({ drbResult }: DRBCardProps) => { href={drbResult.readOnlineUrl} target="_blank" type="buttonPrimary" - mb="s" + mb={drbResult?.downloadLink ? "s" : ""} > Read Online