Improve table styles
All checks were successful
continuous-integration/drone/push Build is passing

* Nicer table headers
* Hide invitation IDs on small screens
This commit is contained in:
2021-02-01 18:53:48 +01:00
parent 8997349186
commit 698e4381c2
2 changed files with 25 additions and 7 deletions

View File

@@ -29,7 +29,7 @@
<table>
<thead>
<tr>
<th>URL</th>
<th class="hide-small">ID</th>
<th>Accepted</th>
<th>Invited user</th>
</tr>
@@ -37,7 +37,7 @@
<tbody>
<% @invitations_used.each do |invitation| %>
<tr>
<td class="overflow-ellipsis"><%= invitation_url(invitation.token) %></td>
<td class="hide-small"><%= invitation.token %></td>
<td><%= invitation.used_at.strftime("%Y-%m-%d") %></td>
<td><%= User.find(invitation.invited_user_id).address %></td>
</tr>