Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix border, input height, seo form
Krzysztof Bialoglowiczb77a4b1c9e20
diff --git a/saleor/static/dashboard-next/components/SeoForm/SeoForm.tsx b/saleor/static/dashboard-next/components/SeoForm/SeoForm.tsxindex 25d56ae28f..fecca3cc15 100644--- a/saleor/static/dashboard-next/components/SeoForm/SeoForm.tsx+++ b/saleor/static/dashboard-next/components/SeoForm/SeoForm.tsx@@ -43,6 +43,9 @@ const styles = (theme: Theme) =>flex: 1},labelContainer: {+ "& span": {+ paddingRight: 30+ },display: "flex"},preview: {@@ -128,7 +131,6 @@ const SeoForm = withStyles(styles, { name: "SeoForm" })()}value={title.slice(0, 69)}disabled={loading || disabled}- InputLabelProps={{ shrink: true }}placeholder={titlePlaceholder}onChange={onChange}fullWidth@@ -158,7 +160,6 @@ const SeoForm = withStyles(styles, { name: "SeoForm" })(fullWidthmultilineplaceholder={descriptionPlaceholder}- InputLabelProps={{ shrink: true }}rows={10}/></div>diff --git a/saleor/static/dashboard-next/components/Theme/ThemeProvider.tsx b/saleor/static/dashboard-next/components/Theme/ThemeProvider.tsxindex f36f511bd2..4212e050e4 100644--- a/saleor/static/dashboard-next/components/Theme/ThemeProvider.tsx+++ b/saleor/static/dashboard-next/components/Theme/ThemeProvider.tsx@@ -24,7 +24,7 @@ const dark: IThemeColors = {disabled: "rgba(32, 33, 36, 0.6)"},input: {- border: "#FCFCFC",+ border: "#9d9d9d",default: "#25262A",disabled: "none",text: "#FCFCFC",@@ -52,7 +52,7 @@ const light: IThemeColors = {disabled: "rgba(216, 216, 216, 0.3)"},input: {- border: "#3D3D3D",+ border: "#616161",default: "#FFFFFF",disabled: "#EAEAEA",text: "#3D3D3D",diff --git a/saleor/static/dashboard-next/theme.ts b/saleor/static/dashboard-next/theme.tsindex dd216fd367..afaaab491b 100644--- a/saleor/static/dashboard-next/theme.ts+++ b/saleor/static/dashboard-next/theme.ts@@ -79,6 +79,9 @@ export default (colors: IThemeColors): Theme =>MuiFormLabel: {filled: {color: [[colors.primary], "!important"] as any+ },+ focused: {+ color: [[colors.primary], "!important"] as any}},MuiIconButton: {@@ -120,7 +123,8 @@ export default (colors: IThemeColors): Theme =>outlined: {"&$shrink": {transform: "translate(12px, 6px) scale(0.75)"- }+ },+ transform: "translate(14px, 14px) scale(1)"},root: {color: colors.input.text@@ -167,17 +171,21 @@ export default (colors: IThemeColors): Theme =>MuiOutlinedInput: {input: {color: colors.input.text,- margin: "4px 0",- padding: "25px 12px 8px 12px"+ padding: "20px 12px 8px 12px"+ },+ inputMultiline: {+ left: -2,+ padding: "10px 0",+ position: "relative"},root: {borderColor: colors.input.border,- "& fieldset": {- borderColor: [[colors.input.border], "!important"] as any- },"& legend": {display: "none"},+ "& fieldset": {+ borderColor: [[colors.input.border], "!important"] as any+ },"&$disabled": {"& fieldset": {backgroundColor: colors.input.disabled@@ -188,6 +196,9 @@ export default (colors: IThemeColors): Theme =>}},"&$focused": {+ "& fieldset": {+ borderColor: [[colors.primary], "!important"] as any+ },"& input": {color: colors.input.textHover,zIndex: 2