Skip to content

Commit a9ec5ce

Browse files
authored
adding more info to the bug6
1 parent dfaf653 commit a9ec5ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@
3333
.foo { flex: 1 1 0%; }
3434
```
3535

36+
> This only fixes css classes that have the `flex` property set. To fix elements that are contained inside a flexbox container, use this global rule:
37+
```css
38+
* {
39+
flex-shrink: 1;
40+
}
41+
```
42+
3643
## bug [8.1.a](https://github.com/philipwalton/flexbugs/blob/master/README.md#8-flex-basis-doesnt-support-calc)
3744
### Input
3845

0 commit comments

Comments
 (0)