Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Reposition mobile menu toggle to left side of header

Maximilian Roos599006fb44b2
diff --git a/docs/sass/custom.scss b/docs/sass/custom.scss
index 6b7dc80c5..08febbbbb 100644
--- a/docs/sass/custom.scss
+++ b/docs/sass/custom.scss
@@ -774,7 +774,7 @@ ul > li::marker {
background: none;
border: none;
padding: 0.5rem;
- margin-left: auto;
+ margin-right: auto;
cursor: pointer;
color: var(--wt-color-text);
transition: color 150ms;
diff --git a/docs/templates/base.html b/docs/templates/base.html
index c849395bb..c449dd742 100644
--- a/docs/templates/base.html
+++ b/docs/templates/base.html
@@ -80,6 +80,17 @@
{% block header %}
<header>
+ <button class="mobile-menu-toggle" aria-label="Open menu" aria-expanded="false">
+ <svg class="menu-icon" aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
+ <line x1="3" y1="6" x2="21" y2="6"></line>
+ <line x1="3" y1="12" x2="21" y2="12"></line>
+ <line x1="3" y1="18" x2="21" y2="18"></line>
+ </svg>
+ <svg class="close-icon" aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
+ <line x1="18" y1="6" x2="6" y2="18"></line>
+ <line x1="6" y1="6" x2="18" y2="18"></line>
+ </svg>
+ </button>
<a href="/">
<div class="logo">
<img src="{{ get_url(path=config.extra.juice_logo_path) }}" srcset="{{ get_url(path='logo.png') }} 1x, {{ get_url(path='[email protected]') }} 2x" alt="logo" width="44" height="44" decoding="sync" fetchpriority="high">
@@ -95,17 +106,6 @@
<a class="nav-item subtitle-text" href="{{ menu.link | safe }}">{{ menu.title }}</a>
{% endfor %}
</nav>
- <button class="mobile-menu-toggle" aria-label="Open menu" aria-expanded="false">
- <svg class="menu-icon" aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="3" y1="6" x2="21" y2="6"></line>
- <line x1="3" y1="12" x2="21" y2="12"></line>
- <line x1="3" y1="18" x2="21" y2="18"></line>
- </svg>
- <svg class="close-icon" aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="18" y1="6" x2="6" y2="18"></line>
- <line x1="6" y1="6" x2="18" y2="18"></line>
- </svg>
- </button>
</header>
<!-- Mobile menu drawer -->