这是indexloc提供的服务,不要输入任何密码
Skip to content

"Breakpoints" object only works when written in order from smaller to larger breakpoints #6

@CharlieIGG

Description

@CharlieIGG

Example:

If I'm on a large screen and I write:

<Grid.Unit width={{ sm:0, md:1/2, lg: 1/3}} />

This does work for me, however if I write the object in any other order, for instance:

<Grid.Unit width={{lg: 1/3, md:1/2, sm:0}} />

I always get a 50% width, on a large screen size.

EDIT: I get 50%, not 0%

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions