Skip to content

Commit 6442db0

Browse files
committed
fix: allow mobile hamburger to open nav drawer
1 parent 161fdfe commit 6442db0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎index.html‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@
8888

8989
<div class="flex min-h-screen pt-16">
9090
<aside x-cloak class="fixed top-16 bottom-0 left-0 z-40 w-72 transform border-r border-github-200 bg-github-50 transition-transform duration-200 ease-in-out lg:translate-x-0 overflow-y-auto custom-scroll dark:border-github-800 dark:bg-github-900"
91-
:class="sidebarOpen ? 'translate-x-0' : '-translate-x-full'"
92-
@click.away="sidebarOpen = false">
91+
:class="sidebarOpen ? 'translate-x-0' : '-translate-x-full'">
9392
<nav class="px-4 py-6" aria-label="Guide navigation">
9493
<template x-for="(part, partIndex) in parts" :key="'part-' + partIndex">
9594
<div class="mb-6">

0 commit comments

Comments
 (0)