Before this commit, display mode is changed to block after hiding it on mobile mode. After this commit, only change display mode for mobile and use inherited mode otherwise. task-2431659 closes odoo/odoo#66787 X-original-commit: 83112caf1964801cd2edfa5a28bf8199d66e00cb Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>