From 06bda7a7db00b09be53cb45f05cf50fb6ebf0fd7 Mon Sep 17 00:00:00 2001 From: Stella Date: Fri, 19 Dec 2014 13:11:11 +0200 Subject: [PATCH] add style in osem.css --- app/assets/stylesheets/osem.css.scss | 6 +++++- app/views/admin/users/index.html.haml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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'