all repos

mugit @ f16095b

馃惍 git server that your cow will love
2 files changed, 4 insertions(+), 1 deletions(-)
ui: add padding between filepath breadcrumbs and "view raw" link
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-03-20 20:03:10 +0200
Authored at: 2026-03-20 20:02:40 +0200
Change ID: mvvruwpkxlnxmkqopmmzryorvrqyzrsm
Parent: e50dc52
M web/static/style.css
路路路
        91
        91
         .nowrap { white-space: nowrap; }

      
        92
        92
         .fill { width: 100%; }

      
        93
        93
         .muted { color: var(--gray); }

      
        
        94
        +.pl { padding-left: 0.3rem; }

      
        94
        95
         .pt { padding-top: 1rem; }

      
        95
        96
         .mb { margin-bottom: 1rem; }

      
        96
        97
         .center {

      
M web/templates/repo_file.html
路路路
        14
        14
                 {{- if .IsLast -}}{{- .Name -}}

      
        15
        15
                 {{- else -}}<a class="link" href="/{{ $.RepoName }}/tree/{{ $.P.Ref }}/{{ .Path }}">{{ .Name }}</a>{{- end -}}

      
        16
        16
                 {{- end -}}

      
        17
        
        -        (<a class="muted" href="/{{ .RepoName }}/raw/{{ .P.Ref }}/{{ .P.Path }}">view raw</a>)

      
        
        17
        +        <span class="pl">

      
        
        18
        +          (<a class="muted" href="/{{ .RepoName }}/raw/{{ .P.Ref }}/{{ .P.Path }}">view raw</a>)

      
        
        19
        +        </span>

      
        18
        20
               </p>

      
        19
        21
               <div class="file-wrapper">

      
        20
        22
                 {{ if .P.IsImage }}