-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Block Editor: Fix spinner position in URLInput component #43472
Conversation
Size Change: -41 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
margin: 0; | ||
top: calc(50% - #{$spinner-size} / 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would love for us to be able to remove as much spinner-positioning code across the codebase as we can. That's not a specific comment on this piece, which looks good. Just a general thought: it'd be nice if the component itself had generic good positioning in 90% of the cases without any additions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be great. I copied this style from the Snipper component.
@jasmussen, the bug is currently specific to the Image block's "Insert link" control. |
What?
Fixes #37070.
PR fixes the spinner position inside the
URLInput
component and removes broken/unused styles.Testing Instructions
Screenshots or screencast
Before
After