From 7aa876f0a7d9079b240d16bcc8d63af84191616d Mon Sep 17 00:00:00 2001 From: decabeza Date: Tue, 12 Sep 2017 21:36:24 +0200 Subject: [PATCH] avoids button overflow on admin tags table --- app/assets/stylesheets/admin.scss | 2 +- app/views/admin/tags/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index a2897e6f9..6ac728e2c 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -54,7 +54,7 @@ $admin-color: #cf3638; } } - th { + th, td { text-align: left; &.text-center { diff --git a/app/views/admin/tags/index.html.erb b/app/views/admin/tags/index.html.erb index 715479420..f22321f38 100644 --- a/app/views/admin/tags/index.html.erb +++ b/app/views/admin/tags/index.html.erb @@ -19,7 +19,7 @@ <% @tags.each do |tag| %> -
+ <%= form_for(tag, url: admin_tag_path(tag), as: :tag,