Skip to content

[css-flexbox] specify max items in line before wrap even if space is otherwise available #5925

@jimmyfrasche

Description

@jimmyfrasche

I want to be able to specify something like flex-wrap-max-items: 4 and have it wrap after 4 items even if 5 or 6 would otherwise fit. This can be worked around by capping the width (resp. height) of the flex container if the size of the flex items is uniform and simple but it seems like it would be easy to specify and just let the browser work it out.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions