Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

body_content columns have padding with nested additional div layer

  • Loading branch information...
commit 086abfcae2c83330346e28d1e40004cff8a27720 1 parent e3edae2
Stefan Mielke authored February 25, 2011
2  core/app/views/shared/_content_page.html.erb
@@ -50,7 +50,7 @@
50 50
       if section[:title]
51 51
         section[:html] = "<h1 id='#{dom_id}'>#{section[:html]}</h1>"
52 52
       else
53  
-        section[:html] = "<section id='#{dom_id}'>#{section[:html]}</section>"
  53
+        section[:html] = "<section id='#{dom_id}'><div class='inner'>#{section[:html]}</div></section>"
54 54
       end
55 55
     else
56 56
       css << "no_#{dom_id}"
12  core/public/stylesheets/refinery/application.css
@@ -7,14 +7,18 @@ body {
7 7
 }
8 8
 #body_content_left {
9 9
   float: left;
10  
-  width: 590px;
11  
-  padding-right: 10px;
  10
+  width: 600px;
12 11
 }
13 12
 #body_content_right {
14 13
   float: right;
15  
-  padding-left: 10px;
16  
-  width: 390px;
  14
+  width: 400px;
17 15
 }
  16
+#body_content_left .inner {
  17
+  padding-right: 10px;
  18
+}     
  19
+#body_content_right .inner {
  20
+  padding-left: 10px;
  21
+}     
18 22
 #body_content.no_body_content_left #body_content_right,
19 23
   #body_content.no_body_content_right #body_content_left {
20 24
   width: 100%;

0 notes on commit 086abfc

Please sign in to comment.
Something went wrong with that request. Please try again.