summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-03-12 11:45:01 +0100
committerGéry Debongnie <ged@odoo.com>2015-03-12 11:46:33 +0100
commitf9cdd19cdb8c3d8576c289f0ae280837bedae990 (patch)
tree17906e7c5dc93d34c6ef18fcb85a8f08f0a2554c /addons/analytic_user_function/analytic_user_function.py
parenta1d319a8fb889689bb0a6c6eb5ce158f70bd1126 (diff)
[FIX] web: fix searchview menus height
first, I want to say that I'm not proud of this. Let's just say that it is better than the previous code (of which I'm not proud either). The issue is that the sub menus (filters/groupbys/favorites) aren't very good when their height is too big, and they're hidden below the screen without scrollbar. Previous code tried clumsily to compute the correct max height in js, but it was only done in filters menu, and did not always work. This code do the same in css. This would be good except that it is just an estimation: calc(100vh - 125px). It assumes that the header will approximately take 120px, and size the max-height accordingly.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions