Skip to content

Discussion: manipulating flex-basis/height/width on container #45

@yankeeinlondon

Description

@yankeeinlondon

Stemming from this slack conversation:

https://embercommunity.slack.com/archives/e-flexi/p1459540198000492

It was decided further discussion was appropriate. The discussion revolves around the ability to exercise precise height or width on a flex item within a horizontal or vertical flexbox group. The "flex" version of this would be to use the flex-basis property but Chris has pointed out that Safari has a bug when using "%" values (in my tests though fixed px/rem/em values work fine).

It may be that the more traditional form of adding height/width style properties is better supported but in either case the goal is to be able to build something like this:

image

In this case we want even spacing between components but in the one case (aka, the green one) we want to precisely state the size/height of the container.

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