Good day Support,
I have set up the following CSS styling to enable me to align certain elements to the bottom of columns:
.equal-height {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-line-pack: stretch;
align-content: stretch;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.x-container:before {
content: normal;
}
@media {
.bottom-align {
margin-bottom: 0;
position: absolute;
bottom: 0;
left: 0;
}
}
It works perfectly in most cases, however, I have an instance where I’ve used a “row” element to place a button and line element next to each other, and when applying the “bottom-align” class to this “row” element, it aligns the row to the bottom of the column, but reduces its width (as shown below).
Why does it reduce the row element’s width and how do I prevent it from doing that? Or, alternatively, is there a better way of aligning the row element to the bottom of it’s column?