Skip to content

Commit e98d452

Browse files
committed
Fixed mobile layout issues
1 parent d391db8 commit e98d452

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

site/src/layouts/DocPage.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const navInfo = findInNav(slug);
3434
</nav>
3535
<Search client:load />
3636
</div>
37-
<article class="prose prose-invert max-w-none" data-pagefind-body>
37+
<article class="prose prose-invert max-w-full overflow-x-hidden lg:max-w-none" data-pagefind-body>
3838
<h1 class="font-display text-3xl text-(--color-fg)">{title}</h1>
3939
<slot />
4040
</article>

site/src/pages/index.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const featureCards = [
4545

4646
<Base>
4747
<section class="border-b border-(--color-border-glass) flex justify-center">
48-
<div class="mx-auto max-w-7xl px-4 py-16 sm:px-6 md:py-24">
48+
<div class="mx-auto lg:max-w-7xl max-w-full px-4 py-16 sm:px-6 md:py-24">
4949
<h1 class="flex flex-col items-center text-center font-display text-3xl leading-tight text-(--color-fg) sm:text-5xl md:text-6xl">
5050
The all-in-one toolkit for
5151
<img
@@ -56,7 +56,7 @@ const featureCards = [
5656
class="mt-2 block h-auto w-full max-w-[600px]"
5757
/>
5858
</h1>
59-
<p class="mt-6 max-w-2xl text-lg text-(--color-fg-sub)">
59+
<p class="mt-6 lg:max-w-2xl max-w-full text-lg text-(--color-fg-sub)">
6060
GWToolbox++ adds builds, hotkeys, automation, widgets, plugins and quality-of-life
6161
fixes — a single drop-in client modification for both veteran and casual players.
6262
</p>
@@ -89,7 +89,7 @@ const featureCards = [
8989
Free, open source, MIT licensed. Windows only.
9090
</p>
9191

92-
<div class="mt-10 max-w-2xl">
92+
<div class="mt-10 lg:max-w-2xl max-w-full">
9393
<p class="mb-2 text-xs font-semibold uppercase tracking-widest text-(--color-fg-meta)">
9494
Looking for something specific?
9595
</p>

0 commit comments

Comments
 (0)