jossmac / jossmac/react-images

Style Autoprefixer broken for `display: flex`

Open
#382 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
433
PR merge metrics
No merged PRs in 30d

Description

**Steps to reproduce the behavior:**
```
({
...base,
display: 'flex',
})
}}
/>
```

_TLDR;_
To fix, add space after flex to fix the issue but no prefix is added.
i.e `display: 'flex '`

_Environment_:
npm@6.145
node@v13.14.0

**Expected style behavior:**
```
display: -webkit-box;
display: -ms-flexbox;
display: flex;
```
_Or_
```
display: flex;
```

**Actual style behavior:**
```
display: -webkit-box,-moz-box,-ms-flexbox,-webkit-flex,flex;
```
_**invalid style**_
###

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.