]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Fix flex-grid-column with nowrap child 8511/head
authorNicolas Coden <nicos.coden@neuf.fr>
Sat, 2 Apr 2016 01:37:51 +0000 (03:37 +0200)
committerNicolas Coden <nicos.coden@neuf.fr>
Sat, 2 Apr 2016 01:37:51 +0000 (03:37 +0200)
commitd8edb5aa438aba94de1678b3162a2491e62082d8
tree680bae8114606e534126f9fe54897a388b435ecf
parent3f0ea82ad0d1916f1f04c0f5da516d4cc09eb727
Fix flex-grid-column with nowrap child

On the last version of chrome, the child of a `flex-grid-column(null)`
with
```css
white-space: nowrap;
overflow: hidden;
```
doesn't have a limited size, and the full content is showed in one line
exceeding the row.

`min-width: 0;` fix this problem, probably by remembering to chrome to
evaluate the column width with a `0px` content width (it's what `flex:
1 1 0px` should do).
https://stackoverflow.com/questions/34934586/white-space-nowrap-and-flex
box-did-not-work-in-chrome
scss/grid/_flex-grid.scss