IE10 Flexbox P element non-wrapping

前端 未结 5 1325
情歌与酒
情歌与酒 2020-12-29 02:14

http://jsfiddle.net/pvJRK/2/

Basically in IE10 a p element which has text wider than it\'s parent when the \"direction\" is a row, will overflow, and subsequently pu

5条回答
  •  有刺的猬
    2020-12-29 02:44

    It doesn't make any sense to me, but adding -ms-flex: 0 1 auto or -ms-flex: 1 1 auto to the paragraph and aside corrects it in IE10. By default, elements are supposed to have flex: 0 1 auto applied to them when they become flex items.

    http://jsfiddle.net/pvJRK/3/

提交回复
热议问题