Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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/requests.html +7−5

@@ -440,11 +440,13 @@
440 440 {{end}}
441 441
442 442 {{define "request_tabs"}}
443 <nav class="subtabs" aria-label="Change sections">
444 <a class="{{if eq .Tab "conversation"}}active{{end}}" href="/r/{{.Name}}/changes/{{.Request.ID}}"{{if eq .Tab "conversation"}} aria-current="page"{{end}}>{{icon "message-square"}}Conversation</a>
445 <a class="{{if eq .Tab "files"}}active{{end}}" href="/r/{{.Name}}/changes/{{.Request.ID}}/files"{{if eq .Tab "files"}} aria-current="page"{{end}}>{{icon "file"}}Changes <span class="chip-count">{{.FileCount}}</span></a>
446 <a class="{{if eq .Tab "runs"}}active{{end}}" href="/r/{{.Name}}/changes/{{.Request.ID}}/runs"{{if eq .Tab "runs"}} aria-current="page"{{end}}>{{icon "play"}}Runs <span class="chip-count">{{len .Checks}}</span></a>
447 </nav>
443 <div class="tabrow subtabs">
444 <nav class="tabs" aria-label="Change sections">
445 <a class="{{if eq .Tab "conversation"}}active{{end}}" href="/r/{{.Name}}/changes/{{.Request.ID}}"{{if eq .Tab "conversation"}} aria-current="page"{{end}}>{{icon "message-square"}}Conversation</a>
446 <a class="{{if eq .Tab "files"}}active{{end}}" href="/r/{{.Name}}/changes/{{.Request.ID}}/files"{{if eq .Tab "files"}} aria-current="page"{{end}}>{{icon "file"}}Changes <span class="chip-count">{{.FileCount}}</span></a>
447 <a class="{{if eq .Tab "runs"}}active{{end}}" href="/r/{{.Name}}/changes/{{.Request.ID}}/runs"{{if eq .Tab "runs"}} aria-current="page"{{end}}>{{icon "play"}}Runs <span class="chip-count">{{len .Checks}}</span></a>
448 </nav>
449 </div>
448 450 {{end}}
449 451
450 452 {{define "request_description"}}