Class for responsive styling #11
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi there
Your plugin is great and I will defo keep using it. One problem I had though - I was struggling to center lots of videos on the same page when in responsive mode. I can do it but the only method I could make work involved giving each one a container div and setting a max-width to correspond to the player width then using margin auto.
So to avoid having to so that I created a class to allow styling when in responsive mode. Giving this class a margin auto means the player is centered in its parent div without having to specify a max-width.
Maybe would be helpful to include this small change in a future version if there is one?
Thanks!
Jon