chore: update mobile styles for log and ref pages 36bcdcf9
Steve · 2026-06-09 09:24 2 file(s) · +7 −2
apps/kepler/static/styles.css +5 −0
133 133
@media (max-width: 720px) {
134 134
    .container { padding: 0 0.75rem 3rem; }
135 135
136 +
    .repo-list, .log-list, .ref-list { font-size: 12px; }
137 +
    .repo-list td, .log-list td, .ref-list td,
138 +
    .repo-list th, .log-list th, .ref-list th { padding: 0.4rem 0.3rem; }
139 +
    .log-list .subject, .repo-list .subject { white-space: normal; }
140 +
136 141
    .repo-nav { flex-wrap: wrap; gap: 0.25rem; }
137 142
    .repo-name { flex: 1 1 100%; font-size: 15px; padding: 0.25rem 0; gap: 0.5rem; }
138 143
    .repo-nav .tab:first-of-type { margin-left: 0; }
apps/kepler/templates/refs.html +2 −2
14 14
        <tr>
15 15
            <td><a href="/{{$.Repo.Name}}/tree/{{.Name}}">{{.Name}}</a></td>
16 16
            <td class="hash">{{shortSHA .SHA}}</td>
17 -
            <td class="author">{{.Author}}</td>
17 +
            <td class="author desktop">{{.Author}}</td>
18 18
            <td class="date">{{timeAgo .Time}}</td>
19 19
            <td><a href="/{{$.Repo.Name}}/log/{{.Name}}">log</a></td>
20 20
        </tr>
33 33
        <tr>
34 34
            <td><a href="/{{$.Repo.Name}}/tree/{{.Name}}">{{.Name}}</a></td>
35 35
            <td class="hash">{{shortSHA .SHA}}</td>
36 -
            <td class="author">{{.Author}}</td>
36 +
            <td class="author desktop">{{.Author}}</td>
37 37
            <td class="date">{{timeAgo .Time}}</td>
38 38
            <td><a href="/{{$.Repo.Name}}/archive/{{.Name}}.tar.gz">tar.gz</a></td>
39 39
        </tr>