Skip to content
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

Bug report: Line-height used to set more than 1 decimal #42998

Closed
ghost opened this issue Aug 4, 2022 · 0 comments · Fixed by #52902
Closed

Bug report: Line-height used to set more than 1 decimal #42998

ghost opened this issue Aug 4, 2022 · 0 comments · Fixed by #52902
Assignees
Labels
[Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Comments

@ghost
Copy link

ghost commented Aug 4, 2022

Description

In previous editions of WordPress, I set line-heights with more than 1 decimal in blocks using the Gutenberg Editor.

Currently, the Editor rounds more than 1 decimal in line-heights.

Example:
line-height: 1.63; is converted to line-height: 1.6;

Proposed course of action
Allow more than one decimal back to line-heights, as it increases precision in design.

Step-by-step reproduction instructions

  1. Add a block in a post.
  2. Set a line-height with 2 decimals or more.
  3. Save the post.
  4. The line-height is saved with 1 decimal.

Environment info

WordPress 6.0.1
With or without Gutenberg plugin

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@talldan talldan added the [Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi label Aug 8, 2022
@annezazu annezazu added the [Type] Enhancement A suggestion for improvement. label Jul 19, 2023
@annezazu annezazu added this to Polish Jul 19, 2023
@annezazu annezazu moved this to Needs design in Polish Jul 19, 2023
@annezazu annezazu moved this from Needs design to Needs development in Polish Jul 19, 2023
@mikachan mikachan self-assigned this Jul 24, 2023
@mikachan mikachan moved this from Needs development to Needs review in Polish Jul 24, 2023
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jul 24, 2023
@richtabor richtabor moved this from Needs review to Done in Polish Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Design Tools Tools that impact the appearance of blocks both to expand the number of tools and improve the experi [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants