forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

fix styles for commit-expand button

Changed files
+6 -3
appview
pages
templates
repo
+6 -3
appview/pages/templates/repo/index.html
···
{{ $messageParts := splitN .Message "\n\n" 2 }}
<div class="text-base cursor-pointer">
<div>
-
<div class="flex items-center gap-1">
+
<div>
<a href="/{{ $.RepoInfo.FullName }}/commit/{{ .Hash.String }}" class="inline no-underline hover:underline">{{ index $messageParts 0 }}</a>
{{ if gt (len $messageParts) 1 }}
-
<button class="text-sm inline rounded-sm bg-gray-300 text-gray-700 px-1 w-fit hover:bg-gray-400"
-
hx-on:click="this.parentElement.nextElementSibling.classList.toggle('hidden')">&hellip;</button>
+
+
<button class="py-1/2 px-1 bg-gray-200 hover:bg-gray-400 rounded"
+
hx-on:click="this.parentElement.nextElementSibling.classList.toggle('hidden')">
+
<i class="w-3 h-3" data-lucide="ellipsis"></i>
+
</button>
{{ end }}
</div>
{{ if gt (len $messageParts) 1 }}