website

#astro#js#html#css

git clone https://git.pyrossh.dev/website

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


46b0b5bpyrossh 2026-07-07T15:02:13+05:30
fix: add max-width wrapper to main content area
Files changed (1) hide show
  1. packages/shared/ui/src/layout.tsx +1 -1
packages/shared/ui/src/layout.tsx CHANGED
@@ -43,7 +43,7 @@ export function Layout({ title, description, request, children }: LayoutProps) {
43
43
  </head>
44
44
  <body>
45
45
  <Header currentPath={url?.pathname} />
46
- <main>{children}</main>
46
+ <main style="max-width:min(70ch,100% - 4rem);margin:0 auto">{children}</main>
47
47
  <Footer />
48
48
  </body>
49
49
  </html>