Skip to content

Commit 04f027b

Browse files
committed
docs: Fixed grid class usage to flex since Safari webview on mobile has issues with grid.
1 parent 3a5d2dc commit 04f027b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/pages/index/+Page.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,9 @@ export default function HomePage() {
331331
</div>
332332
</div>
333333

334-
<div class="max-w-8xl mx-auto grid w-full grid-cols-1 gap-3 px-5 md:grid-cols-2 xl:grid-cols-3">
334+
<div
335+
class={`${'max-w-8xl mx-auto flex w-full flex-col gap-3 px-3'} grid-cols-1 md:grid md:grid-cols-2 xl:grid-cols-3`}
336+
>
335337
<For each={filteredList()}>{_li => _li.example}</For>
336338
</div>
337339

0 commit comments

Comments
 (0)