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 @@ | |
| 5 | 5 | {{end}} | |
| 6 | 6 | ||
| 7 | 7 | {{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;"> | |
| 9 | 9 | <code>{{.RevData.Name}}</code> | |
| 10 | 10 | ||
| 11 | 11 | {{range .Item.Crumbs}} |
+1,
-1
| ... | ... | @@ -1,6 +1,6 @@ | |
| 1 | 1 | {{define "header"}} | |
| 2 | 2 | <div class="flex flex-col"> | |
| 3 | - | <nav class="flex gap"> | |
| 3 | + | <nav class="flex gap flex-wrap"> | |
| 4 | 4 | <a class="btn-nav {{if eq .ActivePage `readme`}}btn-active{{end}}" href="{{.SiteURLs.SummaryURL}}">{{.Repo.RepoName}}</a> | |
| 5 | 5 | <a class="btn-nav flex items-center {{if eq .ActivePage `code`}}btn-active{{end}}" href="{{.RevData.TreeURL}}"> | |
| 6 | 6 | <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 @@ | |
| 5 | 5 | ||
| 6 | 6 | {{define "content"}} | |
| 7 | 7 | <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;"> | |
| 9 | 9 | <code>{{.RevData.Name}}</code> | |
| 10 | 10 | <div> | |
| 11 | 11 | <span class="font-bold">{{.NumCommits}}</span> commits |
+1,
-1
| ... | ... | @@ -4,7 +4,7 @@ | |
| 4 | 4 | {{define "meta"}}{{end}} | |
| 5 | 5 | ||
| 6 | 6 | {{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"> | |
| 8 | 8 | <code>{{.RevData.Name}}</code> | |
| 9 | 9 | ||
| 10 | 10 | {{range .Tree.Crumbs}} |
+4,
-0