-
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
Button Block: Newly added block is too narrow #1168
Comments
I just looked at the CSS and added a width of 150px to it.
The result with the added 150px now look like this: There should of course be button options on the right side but that is another matter, and there should not be so many overlapping toolbars. |
Maybe giving it a |
I agree we should have a min width, somehow, but I believe the reason we didn't add this was that we were hoping that the placeholder text itself could define the size of the button. This would also help with translations requiring different min widths. Cc @iseulde, I think you may have some context. |
Nice @georgeolaru! @iseulde can you tell if removing the abs positioning would have any negative side effects on the placeholder text? |
@jasmussen I think that the only downside to this would be that when you focus the input, the marker would be blipping at the end of the placeholder. It empties itself only when you start typing. Otherwise I think it's ok. |
This tries to address #1168, specifically the concerns around letting the placeholder text scale the content.
Fixed in #1477. |
Steps to Reproduce:
Expected result:
A button block is appended and shown with placeholder text visible.
Actual result:
The button block is appended, but only with enough space for the padding. The placeholder is cropped.
Solution ideas:
The text was updated successfully, but these errors were encountered: