vole
Clone
Read only, no credentials:
https://rodent.software/git/vole.git
Write over SSH with a registered key:
git clone ssh://git@0.0.0.0:2222/vole.git
A free and open-source forge that lives in your Git repo.
Draw every tab row rule at the content edge
973fb80906d6a1ec79ecd6b449e2e51e9cfb77d5 · Keenan Nemetz · 22h ago · parent e189a23e
Draw every tab row rule at the content edge The strip of tabs pulls itself 10px left so the first label's text sits on the content edge, but Settings and Admin put the row's border on that same element, so their rule hung 10px past the repository header's. The rule now belongs to a wrapper in every case: the repository header already had one, and a page's tabs and a change's sections wrap the same strip in .tabrow. The change sections also stop carrying their own copy of the tab styles, which differed by a pixel of padding and a point of icon size.
server/web/templates/admin.html +8−6
| @@ -7,12 +7,14 @@ | |||
| 7 | 7 | </div> | |
| 8 | 8 | </div> | |
| 9 | 9 | ||
| 10 | <nav class="tabs page-tabs" aria-label="Admin"> | ||
| 11 | {{$tab := .Tab}} | ||
| 12 | {{range .Tabs}} | ||
| 13 | <a class="{{if eq .Key $tab}}active{{end}}" href="/admin{{if ne .Key "overview"}}?tab={{.Key}}{{end}}"{{if eq .Key $tab}} aria-current="page"{{end}}>{{icon .Icon}}{{.Label}}</a> | ||
| 14 | {{end}} | ||
| 15 | </nav> | ||
| 10 | <div class="tabrow"> | ||
| 11 | <nav class="tabs" aria-label="Admin"> | ||
| 12 | {{$tab := .Tab}} | ||
| 13 | {{range .Tabs}} | ||
| 14 | <a class="{{if eq .Key $tab}}active{{end}}" href="/admin{{if ne .Key "overview"}}?tab={{.Key}}{{end}}"{{if eq .Key $tab}} aria-current="page"{{end}}>{{icon .Icon}}{{.Label}}</a> | ||
| 15 | {{end}} | ||
| 16 | </nav> | ||
| 17 | </div> | ||
| 16 | 18 | ||
| 17 | 19 | {{if eq .Tab "accounts"}}{{template "accounts_body" .}}{{end}} | |
| 18 | 20 | {{if eq .Tab "audit"}}{{template "audit_body" .}}{{end}} | |