Commit 92efa80

Eric Bower  ·  2026-05-16 19:39:37 -0400 EDT
parent f3f5629
fix: wrap nav and sticky boxes
5 files changed,  +8, -4
+1, -1
......@@ -5,7 +5,7 @@
55 {{end}}
66
77 {{define "content"}}
8- <div class="box sticky flex items-center gap border-visited" style="margin: 0 !important;">
8+ <div class="box sticky flex items-center gap border-visited flex-wrap" style="margin: 0 !important;">
99 <code>{{.RevData.Name}}</code>
1010
1111 {{range .Item.Crumbs}}
+1, -1
......@@ -1,6 +1,6 @@
11 {{define "header"}}
22 <div class="flex flex-col">
3- <nav class="flex gap">
3+ <nav class="flex gap flex-wrap">
44 <a class="btn-nav {{if eq .ActivePage `readme`}}btn-active{{end}}" href="{{.SiteURLs.SummaryURL}}">{{.Repo.RepoName}}</a>
55 <a class="btn-nav flex items-center {{if eq .ActivePage `code`}}btn-active{{end}}" href="{{.RevData.TreeURL}}">
66 <svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" height="16" width="16" viewBox="0 0 16 16" style="margin-right: 5px;">
+1, -1
......@@ -5,7 +5,7 @@
55
66 {{define "content"}}
77 <div class="group-2">
8- <div class="box sticky flex items-center gap border-visited" style="margin: 0 !important;">
8+ <div class="box sticky flex items-center gap border-visited flex-wrap" style="margin: 0 !important;">
99 <code>{{.RevData.Name}}</code>
1010 <div>
1111 <span class="font-bold">{{.NumCommits}}</span> commits
+1, -1
......@@ -4,7 +4,7 @@
44 {{define "meta"}}{{end}}
55
66 {{define "content"}}
7- <div class="box sticky flex items-center gap border-visited">
7+ <div class="box sticky flex items-center gap border-visited flex-wrap">
88 <code>{{.RevData.Name}}</code>
99
1010 {{range .Tree.Crumbs}}
+4, -0
......@@ -161,6 +161,10 @@ footer {
161161 flex-direction: column;
162162 }
163163
164+.flex-wrap {
165+ flex-wrap: wrap;
166+}
167+
164168 .items-center {
165169 align-items: center;
166170 }