I have a parent wrapper with a maximum width:
.wrapper {
max-width: 800px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
And inside it, a 100vw
image:
figure img {
width: 100vw;
max-width: 100vw;
}
On Chrome and Firefox, the image is correctly centered. But on Edge, it's aligned on the left of parent.