Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

fxFlex sets min-height-and max-height at once #119

@NNemec

Description

@NNemec

A <div fxFlex="100px"> results in style="flex: 1 1 100px" which seems fine to me. However, it also sets style="max-height: 100px; min-height: 100px" which effectively counteracts any flex layout.

See https://plnkr.co/edit/twG9Ps for a demo. The outer height:500px should define the size. The inner fxFlex="100px" should then only define the flex-base to be stretched to the remainder of the outer 500px. This does not happen.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions