From 05e27d0d836b78827fc8868ceda6c7a2083ef39f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 27 Sep 2007 19:56:33 +0000 Subject: [PATCH] Slight style update. git-svn-id: http://redmine.rubyforge.org/svn/trunk@770 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/roles/report.rhtml | 2 +- public/stylesheets/application.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;} -- 2.39.5