Skip to content

Commit 9d6032d

Browse files
committed
move back button up
1 parent 591bf2b commit 9d6032d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

layouts/_default/baseof.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@
4242
<div
4343
class="bg-background-toc dark:bg-background-toc z-50 w-full p-3 md:block md:w-[300px]"
4444
>
45+
<!-- Collapse button for small screens -->
46+
<button class="my-4 md:hidden" @click="$store.showSidebar = false">
47+
<span class="icon-svg"
48+
>{{ partialCached "icon" "arrow_left_alt" "arrow_left_alt" }}</span
49+
>
50+
Back
51+
</button>
4552
<!-- Top nav buttons appear here on sm width -->
4653
<div class="flex flex-col gap-2 md:hidden mb-4">
4754
<button
@@ -84,13 +91,6 @@
8491
</span>
8592
</button>
8693
</div>
87-
<!-- Collapse button for small screens -->
88-
<button class="my-4 md:hidden" @click="$store.showSidebar = false">
89-
<span class="icon-svg"
90-
>{{ partialCached "icon" "arrow_left_alt" "arrow_left_alt" }}</span
91-
>
92-
Back
93-
</button>
9494
<!-- Actual Sidebar Content -->
9595
{{ block "left" . }}
9696
{{ partial "sidebar/mainnav.html" . }}

0 commit comments

Comments
 (0)