this repo has no description
1{{ define "repo/fragments/reactionsPopUp" }}
2 <details id="reactionsPopUp" class="relative inline-block">
3 <summary
4 class="flex justify-center items-center min-w-8 min-h-8 rounded border border-gray-200 dark:border-gray-700
5 hover:bg-gray-50
6 hover:border-gray-300
7 dark:hover:bg-gray-700
8 dark:hover:border-gray-600
9 cursor-pointer list-none">
10 {{ i "smile" "size-4" }}
11 </summary>
12 <div
13 class="absolute flex left-0 z-10 mt-4 rounded bg-white dark:bg-gray-800 dark:text-white border border-gray-200 dark:border-gray-700 shadow-lg">
14 {{ range $kind := . }}
15 <button
16 id="reactBtn-{{ $kind }}"
17 class="size-12 hover:bg-gray-100 dark:hover:bg-gray-700"
18 hx-on:click="this.parentElement.parentElement.removeAttribute('open')">
19 {{ $kind }}
20 </button>
21 {{ end }}
22 </div>
23 </details>
24{{ end }}