slidr icon indicating copy to clipboard operation
slidr copied to clipboard

Dynamic resizing question

Open slarcher opened this issue 11 years ago • 1 comments

Dear Brian

a question in regards resizing. I am playing with a slider here: http://hipsta.samuellarcher.net/

I set the height of the slider container to a set height of 200px. As far as I understand the slider should resize the images based on the set size but it doesnt seem to do so. The images are set to max-width: 100% so they are by nature scalable however even if I do not set a static size the slider does not scale. It seems that width and height values are applied via the JS and they do not change when resizing the browser window.

Am I doing something wrong here or is there an issue?

Thanks Sam

slarcher avatar Dec 28 '13 08:12 slarcher

I removed the 200px height but you should get the idea based on the demo.

slarcher avatar Dec 28 '13 08:12 slarcher