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

This commit is contained in:
Tom Hughes 2024-12-03 18:36:23 +00:00
commit 572d1adaae
3 changed files with 4 additions and 3 deletions

View file

@ -932,8 +932,9 @@ div.secondary-actions {
}
}
/* Rules for block pages */
/* Rules for tables with usernames */
.messages-table .username,
#block_list .username {
max-width: 20em;
}

View file

@ -1,5 +1,5 @@
<%= tag.tr(:id => "inbox-#{message.id}", :class => { "table-success" => !message.message_read? }) do %>
<td><%= link_to message.sender.display_name, user_path(message.sender) %></td>
<td><%= link_to message.sender.display_name, user_path(message.sender), :class => "username d-inline-block text-truncate text-wrap align-bottom", :dir => "auto" %></td>
<td><%= link_to message.title, message_path(message) %></td>
<td class="text-nowrap"><%= l message.sent_on, :format => :friendly %></td>
<td class="text-nowrap">

View file

@ -1,5 +1,5 @@
<%= tag.tr(:id => "outbox-#{message.id}") do %>
<td><%= link_to message.recipient.display_name, user_path(message.recipient) %></td>
<td><%= link_to message.recipient.display_name, user_path(message.recipient), :class => "username d-inline-block text-truncate text-wrap align-bottom", :dir => "auto" %></td>
<td><%= link_to message.title, message_path(message) %></td>
<td class="text-nowrap"><%= l message.sent_on, :format => :friendly %></td>
<td class="text-nowrap">