fix whitespace when copying invite url

This commit is contained in:
shibao 2022-11-11 21:36:57 -05:00
parent 2191e7f4f4
commit 1ea4b99c81
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,7 @@
# v0.6.1
- Add shading to table component
- Fix chart to sum by day
- Fix whitespace when copying invite url
# v0.6.0
- Update translations

View File

@ -37,10 +37,8 @@ defmodule CanneryWeb.Components.InviteCard do
<code
id={"code-#{@invite.id}"}
class="mx-2 my-1 text-xs px-4 py-2 rounded-lg text-center break-all text-gray-100 bg-primary-800"
>
<%= Routes.user_registration_url(Endpoint, :new, invite: @invite.token) %>
</code>
phx-no-format
><%= Routes.user_registration_url(Endpoint, :new, invite: @invite.token) %></code>
<%= render_slot(@code_actions) %>
</div>