diff --git a/app/views/dmails/index.html.erb b/app/views/dmails/index.html.erb index 6c75d0729..2050bd66e 100644 --- a/app/views/dmails/index.html.erb +++ b/app/views/dmails/index.html.erb @@ -10,7 +10,7 @@ <%= render "search" %> - <%= table_for @dmails, width: "100%" do |t| %> + <%= table_for @dmails, class: "striped autofit", width: "100%" do |t| %> <% t.column "Date" do |dmail| %> <%= compact_time(dmail.created_at) %> <% end %> @@ -24,7 +24,7 @@ <% t.column "To" do |dmail| %> <%= link_to_user dmail.to %> <% end %> - <% t.column "Subject" do |dmail| %> + <% t.column "Subject", td: { class: "col-expand" } do |dmail| %> <% if dmail.filtered? %> <%= link_to "[filtered]", dmail_path(dmail) %> <% else %>