/* Nine 44px squares and the mark are 440px, so below 34rem the rail
1864
keeps five — dashboard, search, notifications, More, your avatar — and
1865
the More menu holds the rest. Shrinking the squares instead is what
1866
this replaces: 32px was under the target every phone guideline asks
1867
for, and the count only grows. */
1864
keeps six — dashboard, explore, search, notifications, More, your
1865
avatar — and the More menu holds the rest. Seven squares at 44px are
1866
308px, inside a 320px phone. Explore is one of the six because the
1867
More menu only exists for a signed-in viewer: dropping it left a
1868
signed-out phone with no route to the listing at all. Shrinking the
1869
squares instead is what this replaces: 32px was under the target
1870
every phone guideline asks for, and the count only grows. */
1868
1871
@media(max-width:34rem){
1869
1872
.railopt{display:none;}
1870
1873
.railmore{display:block;}
internal/web/templates/globalsearch.html+3−1
@@ -40,7 +40,9 @@
40
40
</li>
41
41
{{end}}
42
42
</ul>
43
{{else}}<pclass="empty-note">no matches for “{{.Query}}”</p>{{end}}
43
{{/* The count line above already says nothing matched, so this one
44
carries the way out instead of repeating it. */}}
45
{{else}}<pclass="empty-note">Try fewer words{{if .Kind}}, <ahref="?q={{.Query}}">search everything</a>,{{end}} or <ahref="/explore">browse the repositories</a>.</p>{{end}}
44
46
{{else}}
45
47
<pclass="empty-note">Repository names, descriptions and topics, and the title and body of every issue and merge request you can read. File contents are searched per repository, from a repository's Code tab.</p>
46
48
{{end}}
internal/web/templates/layout.html+1−2
@@ -19,7 +19,7 @@
19
19
are kept in step by hand: add a square there and add it here. */}}
<divclass="field"><labelfor="key">SSH public key</label>
13
<pclass="hint">Paste the contents of your public key file, usually <code>~/.ssh/id_ed25519.pub</code>. It starts with <code>ssh-ed25519</code> or <code>ssh-rsa</code>. No key yet? <ahref="https://gitbay.org/krz/gitbay/wiki/SSH-keys">Make one</a>.</p>
13
<pclass="hint">Paste the contents of your public key file, usually <code>~/.ssh/id_ed25519.pub</code>. It starts with <code>ssh-ed25519</code> or <code>ssh-rsa</code>.</p>
14
{{/* The help is a disclosure rather than a link out: a wiki page is on
15
another origin, opens over the half-filled form, and has no way