Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

body_content columns have padding with nested additional div layer

  • Loading branch information...
commit 086abfcae2c83330346e28d1e40004cff8a27720 1 parent e3edae2
@caplod caplod authored
View
2  core/app/views/shared/_content_page.html.erb
@@ -50,7 +50,7 @@
if section[:title]
section[:html] = "<h1 id='#{dom_id}'>#{section[:html]}</h1>"
else
- section[:html] = "<section id='#{dom_id}'>#{section[:html]}</section>"
+ section[:html] = "<section id='#{dom_id}'><div class='inner'>#{section[:html]}</div></section>"
end
else
css << "no_#{dom_id}"
View
12 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%;
Please sign in to comment.
Something went wrong with that request. Please try again.