While utilizing FLEX in my code, I noticed that the output is not what I expected on iOS 7/8 devices.
<div className="modal-row">
<div className="col1">
<span>{dict.YourServiceNumber}</span>
</div>
<div className="col2">
<span>{this.props.mobileNumber}</span>
</div>
</div>
MyCssFile.css:
.modal-row {
display: flex;
}
.col1 {
flex: 50%;
text-align: left;
}
.col2 {
flex: 50%;
font-weight: bold;
padding-left: 0px;
text-align: right;
}
Although it functions correctly with iOS versions above 9 and desktop browsers, I need assistance in making it compatible with iOS 7/8 devices.