threesixty-slider icon indicating copy to clipboard operation
threesixty-slider copied to clipboard

v2.0 responsive auto height does not fit original image proportion.

Open kacperpl1 opened this issue 10 years ago • 3 comments

I've got my slider loaded on click which switches the div content from image to slider. Auto height calculation is off by 4px so I've had to add -4px margin to the initial image style.

Additionally either responsive mode should calculate the height initially during the load instead of defined height parameter or it should calculate proportions with this parameter.

kacperpl1 avatar Jan 03 '15 11:01 kacperpl1

It looks like its not constant 4px but its off by 1% of image height

kacperpl1 avatar Jan 05 '15 10:01 kacperpl1

Working responsively I've found setting responsive:false and adjusting the sizing of images to width:100%; height:auto; solves a few issues - although this can leave a gap underneath the images. Ideally there would be no px values defined at all.

simonseddon avatar Jan 05 '15 12:01 simonseddon

Let me run few more test to fix the issue. Will be fixed very soon

creativeaura avatar Jan 06 '15 14:01 creativeaura