Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Improve theme switch animation

dominik-zeglene6685f0ae84e
diff --git a/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx b/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx
index f58f7ebebd..880b8b8722 100644
--- a/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx
+++ b/saleor/static/dashboard-next/components/SaveButtonBar/SaveButtonBar.tsx
@@ -45,7 +45,7 @@ const styles = (theme: Theme) =>
background: theme.palette.background.default,
borderTop: "1px solid transparent",
boxShadow: `0 -5px 5px 0 ${theme.overrides.MuiCard.root.borderColor}`,
- transition: theme.transitions.duration.standard + "ms"
+ transition: `box-shadow ${theme.transitions.duration.shortest}ms`
},
spacer: {
flex: "1"