conversionfoundry / breeze

A Ruby on Rails CMS for brochure-style websites.
Other
3 stars 2 forks source link

Can't use :last-child on content in regions #188

Open isaacfreeman opened 11 years ago

isaacfreeman commented 11 years ago

It would be good to be able to style the last visible content item in a region with :last-child, but Breeze inserts an invisible .breeze-region-label element for editing controls.

A simple approach would be to wrap the content in a region in a .region-content div.

albandiguer commented 11 years ago

All the edition tags should probably move into data attributes in the normal dom of the page and stop inserting layers of div.