Skip to content

Commit

Permalink
Simpler labels
Browse files Browse the repository at this point in the history
  • Loading branch information
aerosol committed Aug 27, 2024
1 parent bb9816f commit 797560e
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions lib/plausible_web/live/installation.ex
Original file line number Diff line number Diff line change
Expand Up @@ -248,18 +248,14 @@ defmodule PlausibleWeb.Live.Installation do
checked={@config[@variant]}
class="block h-5 w-5 rounded dark:bg-gray-700 border-gray-300 text-indigo-600 focus:ring-indigo-600 mr-2"
/>
<label for={"check-#{@variant}"}>
<label class="font-semibold" for={"check-#{@variant}"}>
<%= @label %>
</label>
<div class="ml-2">
<.tooltip icon?={false} position="z-50 w-64 margin-x-auto">
<:tooltip_content>
<%= @tooltip %>
</:tooltip_content>
<Heroicons.information_circle class="text-gray-700 dark:text-gray-500 w-5 h-5" />
</.tooltip>
</div>
<div class="ml-2"></div>
</div>
<p class="ml-7">
<%= @tooltip %>
</p>
</div>
"""
end
Expand Down

0 comments on commit 797560e

Please sign in to comment.