I am encountering an issue with my
<div className={`${classes.center} ${classes.or}`}>OR</div>
.
It appears that this problem is specific to Apple Safari only. The alignment on the right side seems to be broken, although it works fine on Google Chrome and other browsers. My current Safari version is 12.
Please review the CodeSandbox link provided here
https://i.stack.imgur.com/2vKh5.jpg
or: {
position: "relative",
marginBottom: "10px",
"&:before, &:after": {
content: "''",
display: "inline-block",
height: "1px",
width: "40%",
background: "#00000044",
position: "absolute",
top: "50%"
},
"&:before": {
transform: "translate(-70%, -50%)"
},
"&:after": {
transform: "translate(70%, -50%)"
}
}