ui: style overrides take higher precedence than utility styles in Card

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2026-04-17 09:25:15 +01:00
parent 36aff3305c
commit 61f1276e90
+1 -1
View File
@@ -98,7 +98,7 @@ export const Card = forwardRef<HTMLDivElement, CardProps>((props, ref) => {
{...dataAttributes}
{...restProps}
onClick={isInteractive ? handleClick : undefined}
style={{ ...ownProps.style, ...utilityStyle }}
style={{ ...utilityStyle, ...ownProps.style }}
>
{href && (
<Link