From 68d17251130a26cadcd54684abc0d42600ab1b82 Mon Sep 17 00:00:00 2001 From: MT Lewis Date: Fri, 17 Apr 2026 17:47:46 +0100 Subject: [PATCH] ui: style overrides take higher precedence than utility styles in Box Signed-off-by: MT Lewis --- packages/ui/src/components/Box/Box.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/components/Box/Box.tsx b/packages/ui/src/components/Box/Box.tsx index 146292a344..1a2930dd2b 100644 --- a/packages/ui/src/components/Box/Box.tsx +++ b/packages/ui/src/components/Box/Box.tsx @@ -36,7 +36,7 @@ export const Box = forwardRef((props, ref) => { { ref, className: classes.root, - style: { ...ownProps.style, ...utilityStyle }, + style: { ...utilityStyle, ...ownProps.style }, ...dataAttributes, ...restProps, },