Skip to content

Commit f0922b7

Browse files
Interaction tooltip
1 parent d4499d6 commit f0922b7

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

deno.lock

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

routes/p/[poll].tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ export default function Home(props: PageProps<Results>) {
105105
</div>
106106
))}
107107
</div>
108-
<p class="text-gray-500 text-center my-4">
108+
<p
109+
class="text-gray-500 text-center my-4"
110+
title={`Voting or clicking "Show results" counts as an interaction`}
111+
>
109112
{interactions} {interactions === 1 ? "interaction" : "interactions"}
110113
</p>
111114
<p class="text-white text-center">

0 commit comments

Comments
 (0)