Skip to content

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

Fix styles order

Krzysztof Bialoglowicz6c97f990572b
diff --git a/saleor/static/dashboard-next/theme.ts b/saleor/static/dashboard-next/theme.ts
index afaaab491b..3c95f0548f 100644
--- a/saleor/static/dashboard-next/theme.ts
+++ b/saleor/static/dashboard-next/theme.ts
@@ -179,13 +179,12 @@ export default (colors: IThemeColors): Theme =>
position: "relative"
},
root: {
- borderColor: colors.input.border,
- "& legend": {
- display: "none"
- },
"& fieldset": {
borderColor: [[colors.input.border], "!important"] as any
},
+ "& legend": {
+ display: "none"
+ },
"&$disabled": {
"& fieldset": {
backgroundColor: colors.input.disabled
@@ -212,7 +211,8 @@ export default (colors: IThemeColors): Theme =>
color: colors.input.textHover,
zIndex: 2
}
- }
+ },
+ borderColor: colors.input.border
}
},
MuiSwitch: {