diff --git a/app/views/roles/report.rhtml b/app/views/roles/report.rhtml index 3d2ecc1e3..98c3b651e 100644 --- a/app/views/roles/report.rhtml +++ b/app/views/roles/report.rhtml @@ -15,7 +15,7 @@ <% perms_by_module = @permissions.group_by {|p| p.project_module.to_s} %> <% perms_by_module.keys.sort.each do |mod| %> <% unless mod.blank? %> - <%= content_tag('th', mod.humanize, :colspan => (@roles.size + 1)) %> + <%= content_tag('th', mod.humanize, :colspan => (@roles.size + 1), :align => 'left') %> <% end %> <% perms_by_module[mod].each do |permission| %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 3cea2f1fc..307eaa024 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -68,7 +68,7 @@ a img{ border: 0; } /***** Tables *****/ table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; } -table.list tbody th { text-align: left; padding: 0px; } +table.list tbody th { padding: 0px; } table.list td { overflow: hidden; text-overflow: ellipsis; vertical-align: top;} table.list tbody tr:hover { background-color:#ffffdd; } table td {padding:2px;}