From 61f1276e90236577743ca8b7ad8b1e963510567a Mon Sep 17 00:00:00 2001 From: MT Lewis Date: Fri, 17 Apr 2026 09:25:15 +0100 Subject: [PATCH] ui: style overrides take higher precedence than utility styles in Card Signed-off-by: MT Lewis --- packages/ui/src/components/Card/Card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/components/Card/Card.tsx b/packages/ui/src/components/Card/Card.tsx index 6b46980c90..498fd5b021 100644 --- a/packages/ui/src/components/Card/Card.tsx +++ b/packages/ui/src/components/Card/Card.tsx @@ -98,7 +98,7 @@ export const Card = forwardRef((props, ref) => { {...dataAttributes} {...restProps} onClick={isInteractive ? handleClick : undefined} - style={{ ...ownProps.style, ...utilityStyle }} + style={{ ...utilityStyle, ...ownProps.style }} > {href && (