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 auto width #73

Open
morfin opened this issue Apr 24, 2015 · 2 comments
Open

Responsive auto width #73

morfin opened this issue Apr 24, 2015 · 2 comments

Comments

@morfin
Copy link

morfin commented Apr 24, 2015

According to documentation, I need to define an explicit width.

Any chance I can leave it as auto so automatically it adjusts to parents width ?

Thanks.

@tuxd
Copy link

tuxd commented Mar 18, 2016

Hi morfin,

I just passed in width: 'auto' in the options and it worked for me.

@LewisSmallwood
Copy link

LewisSmallwood commented May 26, 2016

Assuming the element is contained, you can also pass in a string of "100%". This will ensure it fits within the specific bounds of the container.

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

3 participants