summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_cheatsheet.rst
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-10-01 16:44:40 +0200
committerAlexandre Kühn <aku@odoo.com>2018-10-01 18:19:48 +0200
commite8a071a744b7706214952440059cc481bbe504d2 (patch)
tree8becb499418bc76f40f3d060b71abac4606e49e7 /doc/reference/javascript_cheatsheet.rst
parent05971d00509a0f5d25b425ac93ef0640af1caa97 (diff)
[FIX] mail: show/hide 'New Message/Channel' in discuss mobile
Before this commit, the buttons 'New Message' and 'New Channel' were shown in all tabs of discuss mobile, even though they should only be displayed in some tabs. This issue comes from a change from BS3 to BS4, in which the classname `visible-xs` has been replaced with `d-block d-md-none`. With BS4, the classnames `d_*` are now `!important`. As a result, `d-block d-md-none o_hidden` still displayed the button because `o_hidden` does not have `!important`. This commit fixes this issue by removing the reliance on `o_hidden`, and now only uses `d-*` for the visibility of the button. The toggling of `o_hidden` has been replaced with adding or removing the classes `d-none` (hidden) and `d-block` (visible). Those buttons are not shown in desktop thanks to `d-md-none`. Task-ID 1877502
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions