Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Scope the rule that adds a white bg on the html element #6908
Since merging in the PR that makes the editing canvas friendly to themes, we've added a CSS rule to the
However this HTML element rule was unscoped, and in case you run Gutenberg in other implementations that don't include the wp-admin, this can cause you to run into this following obscure and exotic CSS situation: https://css-tricks.com/just-one-of-those-weird-things-about-css-background-on-body/
Ideally we had a different CSS class on the HTML element than
Any thoughts? Any different approaches you'd recommend?
Mix-blend-mode could be revisited, I could potentially use a background-filter instead. But it's a good way to ensure contrast to the multi selection color.