From e5da49fd8793f7dd77c6645be4a0fc3164cf2597 Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Thu, 23 Nov 2023 10:41:34 +0000 Subject: [PATCH] Alignment fix for the callouts --- apps/webapp/app/components/primitives/Callout.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/webapp/app/components/primitives/Callout.tsx b/apps/webapp/app/components/primitives/Callout.tsx index d43e22836..bc59de361 100644 --- a/apps/webapp/app/components/primitives/Callout.tsx +++ b/apps/webapp/app/components/primitives/Callout.tsx @@ -93,13 +93,13 @@ export function Callout({ href={to} target="_blank" className={cn( - `flex w-full items-start justify-between gap-2.5 rounded-md border py-2 pl-2 pr-3 shadow-md backdrop-blur-sm`, + `flex w-full items-center justify-between gap-2.5 rounded-md border py-2 pl-2 pr-3 shadow-md backdrop-blur-sm`, variantDefinition.className, variantDefinition.linkClassName, className )} > -
+
{icon ? icon : variantDefinition.icon} {typeof children === "string" ? ( @@ -144,7 +144,7 @@ export function Callout({ return (