sonata-project / SonataAdminBundle

The missing Symfony Admin Generator
https://docs.sonata-project.org/projects/SonataAdminBundle
MIT License
2.11k stars 1.26k forks source link

Move sonata-bc CSS class into a div #965

Closed scheb closed 11 years ago

scheb commented 12 years ago

I think it is better, when the sonata-bc CSS class is not set on the body tag. It should be set on a div on the top level instead. This will ensure that only elements in the div will be affected by sonata admin CSS styles.

For example: I'm using the CKEditor in the Sonata admin panel, which has some overlay windows, Those elements are created as children of the body tag, so they're affected by the CSS styles of the sonata admin, which basically breaks all those overlays.

Currently:

Better:
rande commented 11 years ago

review #995