feat(layout): Enhance blog post layout for better readability

Adds a `m-auto` class to center the blog post content and sets a
maximum width of `3xl` for larger screens to improve readability.
This commit is contained in:
AderKonstantin
2025-03-28 17:08:50 +03:00
parent 1c85792839
commit f37572f0cf

View File

@@ -9,7 +9,7 @@ import MainFooter from "@/components/footer/main";
export default function RootLayout({ children }: { children: React.ReactNode }) { export default function RootLayout({ children }: { children: React.ReactNode }) {
return ( return (
<div className="text-base"> <div className="m-auto text-base 2xl:w-3xl xl:w-3xl md:w-full">
{children} {children}
</div> </div>
); );