From 086abfcae2c83330346e28d1e40004cff8a27720 Mon Sep 17 00:00:00 2001 From: Stefan Mielke Date: Fri, 25 Feb 2011 11:21:19 +0100 Subject: [PATCH] body_content columns have padding with nested additional div layer --- core/app/views/shared/_content_page.html.erb | 2 +- core/public/stylesheets/refinery/application.css | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/core/app/views/shared/_content_page.html.erb b/core/app/views/shared/_content_page.html.erb index 24d5c7ab53..ed7f932a09 100644 --- a/core/app/views/shared/_content_page.html.erb +++ b/core/app/views/shared/_content_page.html.erb @@ -50,7 +50,7 @@ if section[:title] section[:html] = "

#{section[:html]}

" else - section[:html] = "
#{section[:html]}
" + section[:html] = "
#{section[:html]}
" end else css << "no_#{dom_id}" diff --git a/core/public/stylesheets/refinery/application.css b/core/public/stylesheets/refinery/application.css index de4a943cbb..cc7c5da180 100644 --- a/core/public/stylesheets/refinery/application.css +++ b/core/public/stylesheets/refinery/application.css @@ -7,14 +7,18 @@ body { } #body_content_left { float: left; - width: 590px; - padding-right: 10px; + width: 600px; } #body_content_right { float: right; - padding-left: 10px; - width: 390px; + width: 400px; } +#body_content_left .inner { + padding-right: 10px; +} +#body_content_right .inner { + padding-left: 10px; +} #body_content.no_body_content_left #body_content_right, #body_content.no_body_content_right #body_content_left { width: 100%;