When working with a flex grid and trying to add padding to some columns, it seems that the padding is affecting the width of the columns.
I attempted to add the padding to an inner wrapper, but since it's based on percentages, this solution doesn't work for me.
.grid{
width: 100%;
display: flex;
flex-direction: row;
}
.column {
flex: 1 1 100%;
display: block;
height: 200px;
background-color: #e5e5e5;
border: 1px solid #999999;
&.padd{
padding: 0 5%;
}
}
Check out this example on JSFiddle
Do you have any suggestions or solutions?