layout fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Rei
2023-01-18 17:02:46 +01:00
parent b0a87b5592
commit b4e6631f07
2 changed files with 3 additions and 3 deletions

View File

@@ -3,9 +3,9 @@ import { Navbar } from "../components/Navbar";
export const MainLayout = ({ children }: PropsWithChildren) => {
return (
<div>
<div className="w-full">
<Navbar />
<main className="xl:p-10 p-4 xl:mx-0">{children}</main>
<main className="xl:p-10 p-4 px-10 xl:mx-0">{children}</main>
</div>
);
};

View File

@@ -7,7 +7,7 @@ html {
scroll-behavior: smooth;
}
body {
@apply dark:bg-gradient-dark dark:text-primary-text bg-slate-100 text-gradient-dark xl:w-2/3 w-11/12 mx-auto;
@apply dark:bg-gradient-dark dark:text-primary-text bg-slate-100 text-gradient-dark xl:w-2/3 w-full mx-auto;
}
.prose {