foundation / inky

Convert a simple HTML syntax into tables compatible with Foundation for Emails.
http://foundation.zurb.com/emails
673 stars 107 forks source link

Responsive Spacers break after running build #115

Open ethanmay opened 4 years ago

ethanmay commented 4 years ago

When using a responsive spacer like so: <spacer size-sm="20" size-lg="40"></spacer>

After running the foundation build command using the Foundation CLI, Inky outputs the correct HTML elements (two different spacers). However, the inline CSS causes the small spacer to never display, and the large spacer to display always. The small spacer has display: none!important; inline, which cannot be overridden in the CSS stylesheet. Strangely, both spacers have the correct classes applied to them: the small has the .hide-for-large class and the large has the .show-for-large class. The .show-for-large class does not hide the large spacer on mobile.