Skip to content

Flexible columns does not handle fractional columns (e.g. thirds) #17918

@timhibberd

Description

@timhibberd

Describe the bug
Flexible columns does not handle fractional columns (e.g. thirds).

To reproduce
Create a 3-column columns block and attempt to set the 3 columns to the same dimension 33.333%.

Expected behavior
I expect the entered value to be retained as 33.333%, 33.334%, 33.333%. Instead the columns are set to 33.5%, 33.5%, 33% or 33.25%, 33.75%, 33% . So it is not possible to have 3 columns of identical size.

Screenshots
None

Desktop (please complete the following information):

  • OS: Windows10
  • Browser Firefox
  • Version 69.0.3

Additional context

  • Not using the GB plug-in. Using WP 5.3-beta3-46461
  • Latest Twenty-Nineteen theme

NOTE: Something that is not obvious is whether the column width settings represent percent of column block or percent of column block minus inter-block margins. So...for example...would 33.333% | 33.334% | 33.333% with 0% inter-column margins be presented in the settings the same way as 33.333% | 33.334% | 33.333% with 2% inter-column margins! So, for example, if the column settings were set to 33.333% | 33.333% | 33.333% the inter-column margins would be automatically set to .0005%. Alternatively if the column settings were set to 33% | 33% | 33% the inter-column margins would be automatically set to .5%

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