diff --git a/app/assets/stylesheets/shared/restore_spree_from_cms.css.scss b/app/assets/stylesheets/shared/restore_spree_from_cms.css.scss new file mode 100644 index 0000000000..a281031f02 --- /dev/null +++ b/app/assets/stylesheets/shared/restore_spree_from_cms.css.scss @@ -0,0 +1,4 @@ +html { + height: auto; + background-color: transparent; +} diff --git a/app/views/shared/_cms_elrte_head.html.haml b/app/views/shared/_cms_elrte_head.html.haml index 740a769b9c..024c38ca53 100644 --- a/app/views/shared/_cms_elrte_head.html.haml +++ b/app/views/shared/_cms_elrte_head.html.haml @@ -1,4 +1,5 @@ -# Include all stylesheets except reset (which overrides Spree styles) +-# Then restore styles which override Spree's -# See cms/app/views/layouts/cms_admin/_head.html.erb = stylesheet_link_tag 'comfortable_mexican_sofa/structure', 'comfortable_mexican_sofa/typography', @@ -9,7 +10,8 @@ 'comfortable_mexican_sofa/codemirror', 'comfortable_mexican_sofa/jquery_ui', 'comfortable_mexican_sofa/dialogs', - 'comfortable_mexican_sofa/widgets' + 'comfortable_mexican_sofa/widgets', + 'shared/restore_spree_from_cms' = javascript_include_tag('comfortable_mexican_sofa/application')