/dmails: fix column widths.

This commit is contained in:
evazion
2020-01-14 23:56:03 -06:00
parent 2ff7b30edc
commit 27bd94abec

View File

@@ -10,7 +10,7 @@
<%= render "search" %> <%= render "search" %>
<%= table_for @dmails, width: "100%" do |t| %> <%= table_for @dmails, class: "striped autofit", width: "100%" do |t| %>
<% t.column "Date" do |dmail| %> <% t.column "Date" do |dmail| %>
<%= compact_time(dmail.created_at) %> <%= compact_time(dmail.created_at) %>
<% end %> <% end %>
@@ -24,7 +24,7 @@
<% t.column "To" do |dmail| %> <% t.column "To" do |dmail| %>
<%= link_to_user dmail.to %> <%= link_to_user dmail.to %>
<% end %> <% end %>
<% t.column "Subject" do |dmail| %> <% t.column "Subject", td: { class: "col-expand" } do |dmail| %>
<% if dmail.filtered? %> <% if dmail.filtered? %>
<%= link_to "[filtered]", dmail_path(dmail) %> <%= link_to "[filtered]", dmail_path(dmail) %>
<% else %> <% else %>