diff options
| author | qsm-odoo <qsm@odoo.com> | 2017-05-11 15:07:38 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2017-05-12 10:08:27 +0200 |
| commit | f83f9d702a3250993c2948ad0ef86aba731b8876 (patch) | |
| tree | 7b6f4fa6711affaaca19dfb7415c9a7070c2bbed /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | d994f51c6045636bb7ca2dfe5fb8d361f498de0f (diff) | |
[FIX] website: slideshow image gallery was not responsive
The slideshow image gallery code was quiet old and ugly. This commit
refactores it so that it works better, especially its responsiveness.
Before this commit, the number of thumbnail images was limited to 10.
If there were more images than 10, the user was able to navigate
between groups of 10 images thanks to arrow buttons. The problem is
obvious: on small devices, 10 images is too much. Now this "10" limit
is not fixed, it is determined according to the width of the browser
at the time the user loads the snippet.
Some animation and style was also wrong in some cases.
This commit was made as a 10.0 fix, the snippet should keep improving
in advanced versions.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
