Permalink
Browse files

Use #active_admin_content to isolate styles from other app content, a…

…nd only to active_admin content.
  • Loading branch information...
aceofspades committed May 18, 2011
1 parent bc4e659 commit 96c29a2cc00accc98d449063d9f429b808e29954
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/active_admin/stylesheets/active_admin.scss
  2. +1 −1 lib/active_admin/views/pages/base.rb
@@ -56,7 +56,7 @@ body {
}
// ----------------------------------- Main Structure
-#content {
+#active_admin_content {
margin: 0;
padding: 25px $horizontal-page-margin;
@@ -271,7 +271,7 @@ body.logged_out {
#content_wrapper{
width: 500px;
margin: 70px auto;
- #content {
+ #active_admin_content {
@include shadow;
background: #fff;
padding: 13px 30px;
@@ -71,7 +71,7 @@ def build_action_items
end
def build_page_content
- div :id => "content", :class => (skip_sidebar? ? "without_sidebar" : "with_sidebar") do
+ div :id => "active_admin_content", :class => (skip_sidebar? ? "without_sidebar" : "with_sidebar") do
build_flash_messages
build_main_content_wrapper
build_sidebar

0 comments on commit 96c29a2

Please sign in to comment.