Pro Beta 6.0 v3 - Padding In Grid Cell Not Working

Hi,

I have a Pro Grid cell, which is not accepting its properties correctly. I have the padding set for the cell as follows for the different breakpoints:

Desktop: 40px
Laptop: 40px
Tablet landscape: 20px
Tablet portrait: 0px
Mobile: 0px

The desktop, laptop and tablet portrait padding seem to be behaving correctly, but the final two, which are set to have no padding both give 40px of padding (see screenshot).

Is this behaviour you can replicate and is therefore a bug?

Thanks,
Christopher

@whitemedia, thanks for writing in and sorry about the issue you’re experiencing here. Good find…I can confirm that the padding on the Cell does not seem to zero out responsively using a situation like the one you’ve described. I have noted this down to be looked into.

Thanks @kory. Glad to have helped!

I have since discovered that although the problem exists, if the padding is split (i.e. top and bottom padding is different to the sides, the properties set correctly in all breakpoints.

Thanks again,
Christopher

@whitemedia, I’ve noticed that as well on further testing. The odd thing is it seems to only be happening on our Cell Elements in all of my testing, and we use the same “mixin” on all of these Elements that utilize internal padding, so if it’s broken here, in theory it should be broken everywhere, but it’s not. :thinking: A head-scratcher for sure, but we will get to the bottom of it!

@kory, good luck in finding the problem - hopefully not too much head-scratching! :smiley:

No worries, we’ll get there!