From 27bd94abec733848c7e05652591b0d7aedfc12f1 Mon Sep 17 00:00:00 2001 From: evazion Date: Tue, 14 Jan 2020 23:56:03 -0600 Subject: [PATCH] /dmails: fix column widths. --- app/views/dmails/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %>