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.
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 hasdisplay: 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.