diff --git a/app/assets/stylesheets/osem.css.scss b/app/assets/stylesheets/osem.css.scss index 302e13ee..08e68b87 100644 --- a/app/assets/stylesheets/osem.css.scss +++ b/app/assets/stylesheets/osem.css.scss @@ -53,4 +53,8 @@ body { fieldset { margin: 20px 0 20px 0; -} \ No newline at end of file +} + +.col-actions { + width: 170px; +} diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml index 80769f5f..b8210fcc 100644 --- a/app/views/admin/users/index.html.haml +++ b/app/views/admin/users/index.html.haml @@ -40,7 +40,7 @@ = '...' - else None - %td{width: '170px'} + %td.col-actions .btn-group - if can? :show, user = link_to 'View', admin_user_path(user), class: 'btn btn-success'