commit: 43577e9f5966df5029167f8450afca5de782cebb
parent: ecfa1c3f3bbe02fa619ac000da51eccd3acbdc8a
Author: Lynx Kotoura <admin@sanin.link>
Date: Thu, 5 Oct 2017 01:16:30 +0900
Fix style of email domain block table (#5218)
Diffstat:
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/app/views/admin/email_domain_blocks/index.html.haml b/app/views/admin/email_domain_blocks/index.html.haml
@@ -1,13 +1,14 @@
- content_for :page_title do
= t('admin.email_domain_blocks.title')
-%table.table
- %thead
- %tr
- %th= t('admin.email_domain_blocks.domain')
- %th
- %tbody
- = render @email_domain_blocks
+.table-wrapper
+ %table.table
+ %thead
+ %tr
+ %th= t('admin.email_domain_blocks.domain')
+ %th
+ %tbody
+ = render @email_domain_blocks
= paginate @email_domain_blocks
= link_to t('admin.email_domain_blocks.add_new'), new_admin_email_domain_block_path, class: 'button'