So I was thinking the if the class for the mobile display was "first in line" it would be the what is displayed in the mobile view. I have the following
I'm thinking that the class "u-width-12" should be "obeyed" for the smaller screen. It seems to be ignored in favor of my custom classes "u-width-2-5--m"
What am I doing wrong?
Code:
class="o-layout__item u-text-center x-product-layout-images u-width-12 u-width-2-5--m"
Code:
.u-width-2-5--m, { flex-basis: calc(100% / 12 * 2.5); max-width: calc(100% / 12 * 2.5); }
Comment