I am trying to align the images vertically inside div with flex but I just can't seem to figure out the correct way. it always shows unequal space on the left and right side of the image
img {
width: 400px;
}
#thirdDiv {
height: 600px;
width: 500px;
background-color: tomato;
padding: 50px;
border-color: black;
border-style: solid;
margin: auto;
display: flex;
justify-content: center;
align-items: center;
}
#thirdDiv ul {
list-style: none;
}
<div id="thirdDiv">
<ul>
<li><img src="http://www.gildedgingerbread.com/wp-content/uploads/2017/08/Samgyeopsal-1.jpg" alt=""></li>
<li><img src="https://i2.wp.com/seonkyounglongest.com/wp-content/uploads/2019/06/samgyeopsal-7.jpg?fit=1300%2C867&ssl=1" alt=""></li>
</ul>
</div>