Monorepo for Tangled
0
fork

Configure Feed

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

appview/{labels,pulls}: frontend style fixes

Lewis: May this revision serve well! <lewis@tangled.org>

authored by

Lewis and committed by
Tangled
41c1359b 5adea34b

+2 -1
+1
appview/pages/pages.go
··· 1532 1532 Defs map[string]*models.LabelDefinition 1533 1533 Subject string 1534 1534 State models.LabelState 1535 + Prefix string 1535 1536 } 1536 1537 1537 1538 func (p *Pages) EditLabelPanel(w io.Writer, params EditLabelPanelParams) error {
+1 -1
appview/pages/templates/repo/fragments/diff.html
··· 156 156 {{ $isGenerated = isGenerated $n.Old }} 157 157 {{ end }} 158 158 <details {{ if and (not $isGenerated) (not $isDeleted) (not $collapsed) }}open{{ end }} id="file-{{ .Id }}" class="group border border-gray-200 dark:border-gray-700 w-full mx-auto rounded bg-white dark:bg-gray-800 drop-shadow-sm" tabindex="{{ add $idx 1 }}"> 159 - <summary class="list-none cursor-pointer sticky top-12 group-open:border-b border-gray-200 dark:border-gray-700"> 159 + <summary class="list-none cursor-pointer {{ if not $collapsed }}sticky top-12{{ end }} group-open:border-b border-gray-200 dark:border-gray-700"> 160 160 <div id="diff-file-header" class="rounded cursor-pointer bg-white dark:bg-gray-800 flex justify-between"> 161 161 <div id="left-side-items" class="p-2 flex gap-2 items-center overflow-x-auto"> 162 162 <span class="group-open:hidden inline">{{ i "chevron-right" "w-4 h-4" }}</span>