Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Responsive carousel re-sizing based on window size #197

Open
davecyen opened this issue Sep 5, 2014 · 2 comments
Open

Responsive carousel re-sizing based on window size #197

davecyen opened this issue Sep 5, 2014 · 2 comments

Comments

@davecyen
Copy link

davecyen commented Sep 5, 2014

Is it currently possible to have the carousel re-size based on the width of the window?

I'm currently using this for a web app, and I'd like to set its width to 100% of a div (and the div's width is set to a percentage) so that when the window re-sizes, the carousel also re-sizes. However, the carousel seems to require an explicit width (e.g. width: 450px) in order for it to display.

Is it some CSS that I'm missing, or is this currently not supported?

Thanks! By the way, this component is awesome.

@oneezy
Copy link

oneezy commented Sep 12, 2014

it should be css related, post up a jsFiddle of your code, i might be able to help

@wylieconlon
Copy link

Setting 100% width seems to work for me

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

No branches or pull requests

3 participants