Skip to content

Responsive Spacers break after running build #115

@ethanmay

Description

@ethanmay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions