Merge remote-tracking branch 'upstream/pull/5087'

This commit is contained in:
Tom Hughes 2024-08-16 17:20:33 +01:00
commit 076a8114ef
2 changed files with 8 additions and 2 deletions

View file

@ -904,6 +904,12 @@ div.secondary-actions {
}
}
/* Rules for block pages */
#block_list .username {
max-width: 20em;
}
/* Rules for tabs inside secondary background sections */
.bg-body-secondary .nav-tabs {

View file

@ -1,9 +1,9 @@
<tr>
<% if show_user_name %>
<td><%= link_to block.user.display_name, block.user %></td>
<td><%= link_to block.user.display_name, block.user, :class => "username d-inline-block text-truncate text-wrap" %></td>
<% end %>
<% if show_creator_name %>
<td><%= link_to block.creator.display_name, block.creator %></td>
<td><%= link_to block.creator.display_name, block.creator, :class => "username d-inline-block text-truncate text-wrap" %></td>
<% end %>
<td><%= h truncate(block.reason) %></td>
<td><%= h block_status(block) %></td>