Flexbox column cropping image (on iOS only)

瘦欲@ 提交于 2020-01-07 06:47:10

问题


1) I have been developing a site using flexbox CSS styling to control the site layout. I have been using the FLA Framework to write this site - same as facebook.design.

Firebug and Chrome Inspector show no issues with the layout of the code, however on mobile iOS Safari and Chrome, the images are cropping when the flexbox order is being used. (as far as I can tell).

Steps I have taken to resolve this are to add the -webkit-order: x; to the stylesheet however this has no effect.

The website can be seen here: LINK


回答1:


I don't have a iOS device so unable to check this, but have you check to change the overflow property to auto for mobile devices?

@media screen and (max-width: 40em){
  section.popup{
    overflow:auto;
  }
}


来源:https://stackoverflow.com/questions/41189161/flexbox-column-cropping-image-on-ios-only

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!