Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widgets Editor has CSS bleeding with Twenty Twenty Theme #31947

Closed
annezazu opened this issue May 18, 2021 · 2 comments
Closed

Widgets Editor has CSS bleeding with Twenty Twenty Theme #31947

annezazu opened this issue May 18, 2021 · 2 comments
Assignees
Labels
CSS Styling Related to editor and front end styles, CSS-specific issues. [Feature] Widgets Screen The block-based screen that replaced widgets.php. [Type] Bug An existing feature does not function as intended

Comments

@annezazu
Copy link
Contributor

Description

While testing the Widgets Editor with the Twenty Twenty theme, there's some pretty bad CSS bleeding happening with both the background and the text of the Add Block prompt.

Step-by-step reproduction instructions

  1. Install & activate Twenty Twenty
  2. Install & activate Gutenberg Plugin
  3. Under Gutenberg > Experiments, enable widgets experiments (both)
  4. Go to Appearance > Widgets and see CSS bleed

Expected behaviour

Expect the widgets screen to retain its own styling and not the theme's.

Actual behaviour

Widgets screen has some CSS bleeding going on.

Screenshots or screen recording (optional)

Screen.Recording.2021-05-18.at.10.32.12.AM.mov

WordPress information

  • WordPress version: 5.7.2
  • Gutenberg version: 10.6.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? Twenty Twenty

Device information

  • Device: Desktop
  • Operating system: MacOS (latest
  • Browser: Chrome (latest)
@annezazu annezazu added [Type] Bug An existing feature does not function as intended [Feature] Widgets Screen The block-based screen that replaced widgets.php. CSS Styling Related to editor and front end styles, CSS-specific issues. labels May 18, 2021
@annezazu annezazu changed the title Widgets Screen has CSS bleeding with Twenty Twenty Theme Widgets Editor has CSS bleeding with Twenty Twenty Theme May 18, 2021
@jasmussen
Copy link
Contributor

Wanted to note that TwentyTwenty loads its stylesheet into wp-admin directly, rather than through the intended add_editor_style mechanismn, and some of the reasons for that are captured in #18571. That is to say, it is very possible that this issue has to be fixed in the theme rather than the widgets editor.

@tellthemachines
Copy link
Contributor

This needs to be fixed on the theme side. I've reported it on Trac so closing this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS Styling Related to editor and front end styles, CSS-specific issues. [Feature] Widgets Screen The block-based screen that replaced widgets.php. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants