close
Skip to content

EditSite: Remove unused CSS rule#77494

Merged
t-hamano merged 1 commit into
WordPress:trunkfrom
R1shabh-Gupta:cleanup/edit-site-remove-unused-css
Apr 20, 2026
Merged

EditSite: Remove unused CSS rule#77494
t-hamano merged 1 commit into
WordPress:trunkfrom
R1shabh-Gupta:cleanup/edit-site-remove-unused-css

Conversation

@R1shabh-Gupta
Copy link
Copy Markdown
Contributor

What?

Follow up to #77362

Removes the unused CSS rule from packages/edit-site/src/components/post-list/style.scss.

Why?

During the review of #77362, which replaced cursor: pointer with the --wpds-cursor-control design token, it was noted that some selectors are not referenced anywhere in the codebase and is dead CSS. This PR removes them.

How?

Deletes the unused ruleset from style.scss. No other files are affected since the class is unused.

Testing Instructions

Since the removed ruleset appears to be unused in the codebase, there is no frontend element to visually verify.

Use of AI Tools

None

@github-actions github-actions Bot added the [Package] Edit Site /packages/edit-site label Apr 20, 2026
@R1shabh-Gupta R1shabh-Gupta marked this pull request as ready for review April 20, 2026 12:43
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 20, 2026

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: R1shabh-Gupta <[email protected]>
Co-authored-by: t-hamano <[email protected]>

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

Copy link
Copy Markdown
Contributor

@t-hamano t-hamano left a comment

Choose a reason for hiding this comment

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

Nice catch!

@t-hamano t-hamano added [Type] Code Quality Issues or PRs that relate to code quality props-bot Manually triggers Props Bot to ensure the list of props is up to date. labels Apr 20, 2026
@github-actions github-actions Bot removed the props-bot Manually triggers Props Bot to ensure the list of props is up to date. label Apr 20, 2026
@t-hamano t-hamano merged commit c99d502 into WordPress:trunk Apr 20, 2026
50 of 51 checks passed
@github-actions github-actions Bot added this to the Gutenberg 23.1 milestone Apr 20, 2026
ciampo pushed a commit that referenced this pull request Apr 21, 2026
Co-authored-by: R1shabh-Gupta <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Edit Site /packages/edit-site [Type] Code Quality Issues or PRs that relate to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants