-
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
Why is the horizontal width fixed at 300 pixels in URLInput? #13474
Comments
In order for it to not overlap a setting has to be made. If a solution can be found that avoids that but still doesn't have overlap, that would be great. |
Any updates on this? |
Hi @ieim there aren't, however, let me loop a keyword on this to try and get it fixed. |
This should probably be resolved as part of the ongoing refactoring of In the meantime, you might have success in overriding (or unsetting) the width values assigned to the selectors in this stylesheet:
@karmatosed It's not clear to me: What did you have in mind as being overlapped? |
There's an I remember looking into the reason for the hard-coded width a while back as it was also causing the same issue for me. The reason is that the suggestion list that appears underneath the input also has that width. Usually responsibility would be on some parent component of |
That's a good observation to raise, and I see the challenge. It still seems technically possible to accommodate for this, e.g. using measurements ( But, per my comment at #18061 (comment), it might not be something worth spending too much effort on, considering if we want to...
...where if |
Hi @kmix-39 and others is this issue still valid? |
Hi @paaljoachim. |
The element of URLInput protrudes in the InspectorControls.
packages/editor/src/components/url-input/style.scss
$input-size: 300px;
Why is the horizontal width fixed at 300 pixels in URLInput?
Is it useless in auto?
The text was updated successfully, but these errors were encountered: