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

CSS styles acting differently in development vs production #59

Closed
rtman opened this issue Dec 4, 2018 · 1 comment
Closed

CSS styles acting differently in development vs production #59

rtman opened this issue Dec 4, 2018 · 1 comment

Comments

@rtman
Copy link

rtman commented Dec 4, 2018

hey I'm having trouble with this package showing correctly in production, whereas it works correctly in development.

basically these two classes seem to the issue:

.mm-popup {
    display: none;
}
.mm-popup--visible {
    display: block;
}

In development it works, but in production .mm-popup--visible is always set to display: none;
it looks like it isn't even taking .mm-pop--visible into consideration and just using .mm-popup.

capture

If I try and set it like this

.mm-popup .mm-popup--visible {
    display: block;
}

The opposite happens, it works in development but not in production.

capture2

Thoughts?

@rtman
Copy link
Author

rtman commented Dec 11, 2018

If anyone else is wondering this, it was fixed by using .mm-popup.mm-pop--visible instead of .mm-popup .mm-pop--visible

@rtman rtman closed this as completed Dec 11, 2018
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