I'm trying (or I fail trying) modifying the carousel. To illustrate, you can se in the attached file, the firs image represent the actual carousel design, and the image below represent what I want to accomplish.
I've found out some hardcode CSS on the Carousel component, I didn't want to modify it without discussing it first. This is the thing it's bothering me:
https://github.com/mercadolibre/chico/blob/master/src/js/carousel.js#L375 a margin that mess up all the calculations. I've tried to use the '
onready' event make some changes to the carousel structure, and trigger a
.redraw(), but it's mess up all the calculations.
Any other ideas?
I could help refactoring some of the code, let me know what are your thoughts.
Cheers