Dashboard: Refine widget actionable area toolbar styling#78578
Conversation
|
Size Change: 0 B Total Size: 8.04 MB ℹ️ View Unchanged
|
Use compact icon buttons, xs gap between actions, and position the toolbar 8px from the widget top-right edge. Co-authored-by: Cursor <cursoragent@cursor.com>
d7c48e6 to
e03e724
Compare
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
retrofox
left a comment
There was a problem hiding this comment.
Thank you for these adjustments at such a high level of detail. 🚀
|
Flaky tests detected in e03e724. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/26398147169
|
What
Refines the per-widget actionable toolbar shown in dashboard customize mode (options menu and remove).
size="compact"instead ofsmallgap="xs"on the toolbarStack--wpds-dimension-padding-sm(8px) instead of--wpds-dimension-padding-md(12px)Why
Match the design proposed in #78563 (review).
How
Updates
WidgetChromeActionableAreain:widget-chrome-actionable-area.tsx—IconButtonsizeandStackgapwidget-chrome-actionable-area.module.css—topandinset-inline-endpositioning tokensNo changes to grid
actionableAreabehavior or widget actions themselves.Test plan
xs)Screenshots
AI
Made with Cursor