diff options
| author | Khoi Nguyen <bng@odoo.com> | 2017-07-28 16:34:19 +0200 |
|---|---|---|
| committer | Khoi Nguyen <bng@odoo.com> | 2017-07-31 13:52:53 +0200 |
| commit | a752e7d1458b1d689a028fcf89b582ae74333d49 (patch) | |
| tree | 8372312e54d47fcca8924f259c0b996205d0e029 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a1f7aa3362eded33f7142e218e74acad98367511 (diff) | |
[FIX] web: make calendar adapt to screen size
This commit aims to reproduce saas-15 behaviour when rendering the
calendar. More explicitely, in favourable conditions, we would like the
calendar to be contained in a scroller adapted to the screen dimensions.
To do so, we require that the calendar only use the height given by its
parent container (in case of overflow, the calendar should have its own
scrollbars). We then trigger a 'resize' event to account for a bad
initial render of the calendar.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
