Browse files

[FIX]website: Hide 'DateRangeButtons' inside SearchView on small device.

In website dashboard, 'DateRangeButtons' are pushed into control panel's
SearchView and breaks the UI in small devices.

This commit fixes the issue by hiding them in small devices.

Task: 1884038
Closes #27082
  • Loading branch information...
dja-odoo authored and pka-odoo committed Sep 19, 2018
1 parent 36cadc3 commit 0aba54f05db308180682c33d9f100d33c43ec4fb
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/website/static/src/xml/website.backend.xml
@@ -72,7 +72,7 @@
<button class="btn btn-secondary js_date_range" data-date="month">Last Month</button>
<button class="btn btn-secondary js_date_range" data-date="year">Last Year</button>
<div class="btn-group pull-right" style="margin-right: 20px;">
<div class="btn-group d-none d-md-inline-block float-right" style="margin-right: 20px;">
<t t-foreach="widget.websites" t-as="website">
<button t-attf-class="btn btn-secondary js_website #{website.selected ? 'active' : ''}"

0 comments on commit 0aba54f

Please sign in to comment.