Skip to content

Spacing Controls Don't Allow Decimals #31964

@justintadlock

Description

@justintadlock

When adding margin or padding, there is no way to add a decimal in the number. These are useful for at least rem, em, and % values.

To replicate, open the margin/padding spacing control and enter a number with decimal like 0.5 or 2.5. After clicking out of the number box, the control will automatically change these to 1 and 3, respectively.

Before:

unit-control-decimal

After:

unit-control-changed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions