From b4094688c27e37944823dd00e6e7253a479af2f7 Mon Sep 17 00:00:00 2001 From: BrokenEagle Date: Tue, 31 Mar 2020 16:50:09 +0000 Subject: [PATCH] Fix artist commentary version view The 100% was causing the table to overflow outside the border on Firefox when in the revert view because of the thumbnail on the side of the table. --- app/views/artist_commentary_versions/_listing.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/artist_commentary_versions/_listing.html.erb b/app/views/artist_commentary_versions/_listing.html.erb index ee29ae0d9..4e0dbd2ed 100644 --- a/app/views/artist_commentary_versions/_listing.html.erb +++ b/app/views/artist_commentary_versions/_listing.html.erb @@ -4,7 +4,7 @@ <%= PostPresenter.preview(@commentary_versions.first.post, show_deleted: true) %> <% end %> - <%= table_for @commentary_versions, {class: "striped", width: "100%"} do |t| %> + <%= table_for @commentary_versions, class: "striped" do |t| %> <% if listing_type(:post_id) == :standard %> <% t.column "Post", width: "1%" do |commentary_version| %> <%= PostPresenter.preview(commentary_version.post, show_deleted: true) %>