Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responsive Spacers break after running build #115

Open
ethanmay opened this issue Oct 7, 2019 · 0 comments
Open

Responsive Spacers break after running build #115

ethanmay opened this issue Oct 7, 2019 · 0 comments

Comments

@ethanmay
Copy link
Contributor

ethanmay commented Oct 7, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant