I've made a 2 column layout but the right column is stretching beyond 50% because of the item-container
element.
https://jsfiddle.net/cd83mgex/
How can I make the column fixed to 50%?
Column CSS:
.container {
display: flex;
flex-direction: row;
width: 100%;
height: 100%;
background: red;
}
.column-1 {
flex: 50%;
height: 100%;
background: lightblue;
border-right: 1px solid black;
}
.column-2 {
flex: 50%;
height: 100%;
background: lightgreen;
}