Skip to content

Commit 54ee135

Browse files
committed
chore: layout fixes
1 parent 0ed451b commit 54ee135

File tree

4 files changed

+4
-21
lines changed

4 files changed

+4
-21
lines changed

examples/ecommerce-jewellery-store/package-lock.json

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/kendo-react-e-commerce-astro-app/src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const Header: React.FC = () => {
7979
className="k-flex-basis-0 k-flex-grow k-gap-2 k-align-items-center"
8080
style={{ paddingLeft: "50px" }}
8181
>
82-
<a href="/" className="k-d-sm-flex" style={{ marginRight: "50px" }}>
82+
<a href="/kendo-react/kendo-react-e-commerce-astro-app/" className="k-d-sm-flex" style={{ marginRight: "50px" }}>
8383
<img
8484
src="/kendo-react/kendo-react-e-commerce-astro-app/vilora-logo.png"
8585
alt="Logo"

examples/kendo-react-e-commerce-astro-app/src/components/Home.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const Home: React.FC = () => {
3434
const isAdminValue = useStore(isAdmin);
3535

3636
return (
37-
<>
37+
<div className="k-m-auto" style={{ maxWidth: 1280 }}>
3838
<BackgroundImage
3939
title={title}
4040
subtitle={subtitle}
@@ -121,7 +121,7 @@ const Home: React.FC = () => {
121121
</Layout>
122122
</>
123123
)}
124-
</>
124+
</div>
125125
);
126126
};
127127

examples/kendo-react-e-commerce-astro-app/src/layouts/Layout.astro

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,10 @@
5858
top: auto;
5959
z-index: 1000;
6060
}
61-
62-
body.sized-parent {
63-
max-width: 1280px;
64-
margin: auto;
65-
}
66-
6761
</style>
6862
<slot name="head" />
6963
</head>
70-
<body class="k-body sized-parent">
64+
<body class="k-body">
7165
<slot />
7266
</body>
7367
</html>

0 commit comments

Comments
 (0)