From 24904d406c94266e037728be7bc405797bc2a721 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Mon, 5 Mar 2018 09:54:40 +0100 Subject: [FIX] web: Calendar: control panel buttons in mobile In mobile, we want a special 'Today' button to be displayed on the bottom right corner of the control panel. Rev. ebe58d92 enforces this by defining less layout rules on the control panel. However, those rules apply globally, for all control panels, not only in Calendar views. So it produces undesired behaviors in other views. This rev. removes the undesired less rules, and instead appends the 'Today' button in the pager area, which is in the bottom right corner. --- addons/web/static/src/xml/web_calendar.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'addons/web/static/src/xml/web_calendar.xml') diff --git a/addons/web/static/src/xml/web_calendar.xml b/addons/web/static/src/xml/web_calendar.xml index ae9250d79e9..7f65ed93a08 100644 --- a/addons/web/static/src/xml/web_calendar.xml +++ b/addons/web/static/src/xml/web_calendar.xml @@ -63,13 +63,7 @@
- - - - - - - + @@ -82,6 +76,13 @@
+ + + + + + +
-- cgit v1.2.3