[Components - Placeholder]: Set fixed right margin for label's icon#46918
[Components - Placeholder]: Set fixed right margin for label's icon#46918ntsekouras merged 3 commits intotrunkfrom
Conversation
That makes more sense to me. |
|
Size Change: -3 B (0%) Total Size: 1.32 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 612310a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3849025305
|
I updated to use |
2fcd070 to
612310a
Compare
mirka
left a comment
There was a problem hiding this comment.
Looks good, makes sense 👍
Just noting that $grid-unit-15 is 12px, not 14px. Which matches our standard 4px grid, so it's good.
What?
Fixes: #45360
Fixes: #36836
The Placeholder component adds margin-right to its icon but uses
chunit, which is defined as the width of the character 0 which indashiconsis0. This PR changes the margin to be the same for all cases(12pxvalue) .Testing Instructions
chart-barand insert a Query Loop block