Skip to content

Commit ad9ac6c

Browse files
committed
feat: content max width to 3xl
1 parent 247e504 commit ad9ac6c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Navbar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</script>
2929

3030
<nav class="fixed top-0 left-0 w-dvw bg-neutral-900 p-4 text-white">
31-
<div class="container mx-auto flex items-center justify-between">
31+
<div class="mx-auto flex w-full max-w-3xl items-center justify-between">
3232
<a class="font-black hover:text-neutral-300" href="/">Hyper-Z11</a>
3333
<button class="flex md:hidden" onclick={toggle(true)}><Icon icon="three-dots-vertical" class="h-5 w-5" /></button>
3434
<ul class="hidden flex-row gap-4 md:flex">

src/routes/+layout.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
<Navbar />
1313

14-
<main class="grow bg-neutral-800 p-3 py-16 text-white">
15-
<div class="container mx-auto">
14+
<main class="grow bg-neutral-800 p-4 py-16 text-white">
15+
<div class="mx-auto w-full max-w-3xl">
1616
{@render children()}
1717
</div>
1818
</main>

0 commit comments

Comments
 (0)