What\'s the correct CSS to force Safari to not overlap flex items within a default flex container?
Safari seems to give too much width to flex items with lots of con
I also had a similar issue where flex box direction changed to column overlapped items on iPad. The issue was with the flex: 0 1 0;
property applied to child element. Give the base value auto. flex: 0 1 auto;
.parent{
display: flex;
flex-direction: column;
}
.parent .child{
flex: 0 1 auto;
}
The element is shrinking. You need to set the flex-shrink
property to 0
on the shrinking element.
main >div:first-child {
-webkit-flex: 0;
flex-shrink: 0;
}