Monorepo for Tangled tangled.org
7

Configure Feed

Select the types of activity you want to include in your feed.

appview/starBtn: set icon to shrink-0

Signed-off-by: eti <eti@eti.tf>

author
eti
committer
Tangled
date (May 20, 2026, 11:34 AM +0300) commit 78b2ec82 parent 7aed0ce3
+4 -4
+4 -4
appview/pages/templates/fragments/starBtn.html
··· 7 7 {{ if .HxSwapOob }}hx-swap-oob='outerHTML:#starBtn[data-star-subject-at="{{ .SubjectAt }}"]'{{ end }} 8 8 > 9 9 <button 10 - class="btn-group-item active flex-1 group" 10 + class="btn-group-item active flex-1 gap-1 group" 11 11 {{ if .IsStarred }} 12 12 hx-delete="/star?subject={{ .SubjectAt }}&countHint={{ .StarCount }}&repoName={{ .RepoName }}" 13 13 {{ else }} ··· 17 17 hx-disabled-elt="this" 18 18 > 19 19 {{ if .IsStarred }} 20 - {{ i "star" "w-4 h-4 fill-current inline group-[.htmx-request]:hidden" }} 20 + {{ i "star" "w-4 h-4 shrink-0 fill-current inline group-[.htmx-request]:hidden" }} 21 21 {{ else }} 22 - {{ i "star" "w-4 h-4 inline group-[.htmx-request]:hidden" }} 22 + {{ i "star" "w-4 h-4 shrink-0 inline group-[.htmx-request]:hidden" }} 23 23 {{ end }} 24 - {{ i "loader-circle" "w-4 h-4 animate-spin hidden group-[.htmx-request]:inline" }} 24 + {{ i "loader-circle" "w-4 h-4 shrink-0 animate-spin hidden group-[.htmx-request]:inline" }} 25 25 <span class="group-[.htmx-request]:hidden">{{ if .IsStarred }}unstar{{ else }}star{{ end }}</span> 26 26 </button> 27 27 {{ if .RepoName }}