Skip to content

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

Fix logo placement in dashboard 2.0 when the svg has specific width

Unknown588f83fc4eda
diff --git a/saleor/static/dashboard-next/AppRoot.tsx b/saleor/static/dashboard-next/AppRoot.tsx
index 8c50815c1e..ce943fe45d 100644
--- a/saleor/static/dashboard-next/AppRoot.tsx
+++ b/saleor/static/dashboard-next/AppRoot.tsx
@@ -162,7 +162,8 @@ const styles = (theme: Theme) =>
},
logo: {
"& svg": {
- height: "100%"
+ height: "100%",
+ width: "auto"
},
height: 32
},