Skip to content

flex attribute compile error #3978

Closed
Closed
@sam019

Description

@sam019

Is this a bug report?

yes

Did you try recovering your dependencies?

yes

Which terms did you search for in User Guide?

Environment

  1. node -v: v9.3.0
  2. npm -v: 5.6.0
  3. yarn --version (if you use Yarn):
  4. npm ls react-scripts (if you haven’t ejected): 1.1.0

Then, specify:

  1. Operating system: macOS 10.13.2
  2. Browser and version (if relevant): Google Chrome Canary 66

Steps to Reproduce

(Write your steps here:)

  1. write this in css: flex: 1 1 0;, this mean flex-grow: 1; flex-shrink: 1; flex-basis: 0
  2. save and compile

Expected Behavior

the compiled css should be: flex: 1 1 0;

Actual Behavior

the compiled css is: flex: 1 1;

because flex: 1 1; mean flex-grow: 1; flex-shrink: 1; flex-basis: 0%; the problem is:
flex-basis: 0% not equal to flex-basis: 0, and so produce style bug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions