✨ 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:
@@ -9,7 +9,7 @@ import MainFooter from "@/components/footer/main";
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<div className="text-base">
|
||||
<div className="m-auto text-base 2xl:w-3xl xl:w-3xl md:w-full">
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user