fix: match column styling (#169)

* fix: match column styling

* Initial commit from Saleor CLI

---------

Co-authored-by: Lukasz Ostrowski <lukasz.ostrowski@saleor.io>
This commit is contained in:
Yousaf Ishaq 2023-02-20 11:08:03 +01:00 committed by GitHub
parent 4b4626f164
commit 49aa050b06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 3 deletions

View file

@ -58,6 +58,14 @@ const getNuvoSettings = (theme: SaleorTheme): SettingsAPI => {
color: theme.palette.text.primary, color: theme.palette.text.primary,
}, },
}, },
button: {
root: {
background: theme.palette.background.default,
color: theme.palette.text.primary,
maxHeight: "20px",
border: `1px solid ${lighten(theme.palette.background.default, 0.1)}`,
},
},
} as const; } as const;
return { return {
@ -175,7 +183,11 @@ const getNuvoSettings = (theme: SaleorTheme): SettingsAPI => {
border: "1px dashed #ddd", border: "1px dashed #ddd",
}, },
}, },
globals: { fontFamily: "Inter", backgroundColor: "transparent", textColor: "inherit" }, globals: {
fontFamily: "Inter",
backgroundColor: "transparent",
textColor: "inherit",
},
}, },
title: "Upload customers to Saleor", title: "Upload customers to Saleor",
disableExcelTemplate: true, disableExcelTemplate: true,

View file

@ -59,7 +59,7 @@ const ImporterPage: NextPage = () => {
</div> </div>
} }
/> />
<Container> <Container style={{ maxWidth: "unset" }}>
<PageTabs <PageTabs
style={{ marginBottom: 20, marginTop: 20 }} style={{ marginBottom: 20, marginTop: 20 }}
value={activeTab} value={activeTab}
@ -69,7 +69,7 @@ const ImporterPage: NextPage = () => {
<PageTab disabled value="orders" label="Orders (coming soon)" /> <PageTab disabled value="orders" label="Orders (coming soon)" />
<PageTab disabled value="products" label="Products (coming soon)" /> <PageTab disabled value="products" label="Products (coming soon)" />
</PageTabs> </PageTabs>
<Divider style={{ marginBottom: 50 }} /> <Divider />
{activeTab === "customers" && <CustomersImporterView />} {activeTab === "customers" && <CustomersImporterView />}
</Container> </Container>
</div> </div>