Flexbox wraps last column of the first row in Safari

前端 未结 12 671
长发绾君心
长发绾君心 2020-11-30 18:52

The last column of the first row is wrapped to the next line when viewing in Safari, and some other iOS based browsers.

Safari:

12条回答
  •  温柔的废话
    2020-11-30 19:31

    I was able to fix it by adding

    .row:before, .row:after {
    display: flex !important;
    }
    

    Obviously this isn't the most elegant solution but it may work for some in the meantime until they fix it.

提交回复
热议问题