-
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
In Japanese environment, only two characters are displayed for the block name that appears when using select mode #21060
Comments
Thanks for reporting this issue. If you are able to, could you test to see if this is still an issue in newer versions of the Gutenberg plugin? Was it working correctly in versions of WordPress earlier than the 5.4 release candidates (WordPress 5.3.2)? There is a significant redesign to this user interface in newer versions of the plugin (#19344) and this issue may have been affected as part of those changes. I haven't yet debugged to confirm, but I'd wonder if this is in-part caused by a hard-coded width in the styling of these buttons. |
However, we will be using 5.4 for a while, so if you can fix the bug, please do. |
Hi, I'm closing this since you have reported that this has been fixed in the latest version of Gutenberg. Please reopen if you are still experiencing this. |
In a Japanese environment, the component button that appears when using select mode displays only two characters.
To reproduce
Expected behavior
It should look like the following image.
Screenshots
However, it now looks like the following image.
Solution
When "white-space: nowrap;" was applied to the component button (.edit-post-visual-editor .components-button), it became horizontal even in Japanese.
Verification environment
The text was updated successfully, but these errors were encountered: