Skip to content

Conversation

@t-hamano
Copy link
Contributor

What?

This PR adds the following changes to restore the correct additional CSS screen layout:

Why?

In my research, this is a regression that occurred in #72599.

How?

Testing Instructions

  • Access the site editor > Styles
  • Make sure there is no "Additional CSS" navigation button
  • Access the "Additional CSS" screen from the drop-down button in the top right.
  • Confirm the layout.
Before After
image image
image image

@t-hamano t-hamano self-assigned this Nov 12, 2025
@t-hamano t-hamano added [Type] Bug An existing feature does not function as intended Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels Nov 12, 2025
@t-hamano t-hamano marked this pull request as ready for review November 12, 2025 09:45
@t-hamano t-hamano requested a review from youknowriad November 12, 2025 09:45
@github-actions
Copy link

github-actions bot commented Nov 12, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: jasmussen <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@youknowriad
Copy link
Contributor

Thanks for the fix, I appreciate it.

Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested both global styles top level and within the editor, both work. Thanks :)

@t-hamano t-hamano merged commit 98b5c5c into trunk Nov 12, 2025
40 of 41 checks passed
@t-hamano t-hamano deleted the fix/global-styles-css-ui branch November 12, 2025 10:49
@github-actions github-actions bot added this to the Gutenberg 22.1 milestone Nov 12, 2025
@Mamaduka
Copy link
Member

Mamaduka commented Dec 3, 2025

Noticed the following warning when opening the Styles panel, not 100% sure if it's related to this PR.

Screenshot

CleanShot 2025-12-03 at 21 07 58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Additional CSS: Input misplaced and not full-height

4 participants