forked from tangled.org/core
this repo has no description

appview: pages/templates/repo: fix styling for file tree items

Signed-off-by: Safwan Parkar <safwanparkar6@gmail.com>

authored by safwanyp.com and committed by Tangled 7a076be1 64bc1297

Changed files
+3 -2
appview
pages
templates
repo
+3 -2
appview/pages/templates/repo/tree.html
··· 61 61 62 62 {{ if .IsFile }} 63 63 {{ $icon = "file" }} 64 - {{ $iconStyle = "size-4" }} 64 + {{ $iconStyle = "flex-shrink-0 size-4" }} 65 65 {{ end }} 66 66 <a href="{{ $link }}" class="{{ $linkstyle }}"> 67 67 <div class="flex items-center gap-2"> 68 - {{ i $icon $iconStyle }}{{ .Name }} 68 + {{ i $icon $iconStyle }} 69 + <span class="truncate">{{ .Name }}</span> 69 70 </div> 70 71 </a> 71 72 </div>