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

changes to make equalizer responsive and the associated docs #6376

Merged
merged 1 commit into from Apr 24, 2015

Conversation

tyrantkhan
Copy link
Contributor

#4882 Made Reference to this

The issue comes up if you have set equalize_on_stack to true. I opted for a solution where you set the media query on the parent, and not on a per element basis.

Maybe there is value in having it there for both objects, but I'm not sure that's feasible given the current implementation. I was not looking to do a whole rewrite.

Finally, I would have liked to put the value in just the data-equalizer attribute, but Nested elements are actually using that space, so i opted for a new attribute data-equalizer-mq. If you set it to some non-existant query like data-equalizer-mq="only-megalarge", the plugin will just ignore your media query request and continue as if you passed no media query.

@rafibomb rafibomb added this to the 5.5.2 milestone Mar 9, 2015
@jamieshark jamieshark merged commit 3bcaa8e into foundation:master Apr 24, 2015
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

Successfully merging this pull request may close these issues.

None yet

3 participants