Skip to content

Commit 64ee378

Browse files
Merge pull request #218 from gultyaev/styling
fix: styling of pages
2 parents 583cb28 + 6687357 commit 64ee378

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

src/components/MainLayout/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function Header() {
4343
};
4444

4545
return (
46-
<AppBar position="static">
46+
<AppBar position="relative">
4747
<Toolbar>
4848
<Typography variant="h6" className={classes.title}>
4949
<Link className={classes.homeLink} to="/">My Store!</Link>

src/components/pages/PageOrders/PageOrders.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import Typography from "@material-ui/core/Typography";
55

66
const useStyles = makeStyles((theme) => ({
77
content: {
8-
backgroundColor: theme.palette.background.paper,
98
padding: theme.spacing(3, 0, 3),
109
},
1110
}));

src/components/pages/PageProducts/PageProducts.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import Products from "components/pages/PageProducts/components/Products";
44

55
const useStyles = makeStyles((theme) => ({
66
content: {
7-
backgroundColor: theme.palette.background.paper,
87
padding: theme.spacing(3, 0, 3),
98
},
109
}));
@@ -17,4 +16,4 @@ export default function PageProducts() {
1716
<Products/>
1817
</div>
1918
);
20-
}
19+
}

src/components/pages/admin/PageProductImport/PageProductImport.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {Link} from "react-router-dom";
99

1010
const useStyles = makeStyles((theme) => ({
1111
content: {
12-
backgroundColor: theme.palette.background.paper,
1312
padding: theme.spacing(3, 0, 3),
1413
},
1514
}));

src/components/pages/admin/PageProductImport/components/CSVFileImport.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import axios from 'axios';
55

66
const useStyles = makeStyles((theme) => ({
77
content: {
8-
backgroundColor: theme.palette.background.paper,
98
padding: theme.spacing(3, 0, 3),
109
},
1110
}));

0 commit comments

Comments
 (0)