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 # v0.6.1
- Add shading to table component - Add shading to table component
- Fix chart to sum by day - Fix chart to sum by day
- Fix whitespace when copying invite url
# v0.6.0 # v0.6.0
- Update translations - Update translations

View File

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