Skip to content

Commit

Permalink
fix: better layout on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
pr0xity committed Sep 16, 2024
1 parent c8a1fe8 commit f01b5e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Main.astro
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<main class="px-24 max-w-7xl mx-auto w-full max-sm:px-5">
<main class="px-24 max-w-7xl mx-auto w-full sm:flex-1 max-sm:px-5">
<slot/>
</main>
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ image = "/images/tg.jpg"

<title>{title}</title>
</head>
<body class="min-h-screen bg-background">
<body class="min-h-screen bg-background sm:flex sm:flex-col">
<Header/>
<slot />
<Sponsors />
Expand Down

0 comments on commit f01b5e0

Please sign in to comment.