summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/web_kanban_activity.xml
diff options
context:
space:
mode:
authorAdrien Dieudonne <adr@odoo.com>2018-10-23 11:43:05 +0000
committerAdrien Dieudonne <adr@odoo.com>2018-10-23 11:43:05 +0000
commitee622b9b667ed4a9cf5b52bd6820ae3dbca0df3f (patch)
treec52591ccaaf648ca3377a176bbaf86601c78c27d /addons/mail/static/src/xml/web_kanban_activity.xml
parent717111479b89c54e932e80bf35582467d2a270e1 (diff)
[FIX] mail: schedule an activity button not visible in mobile
Before this commit, text color was in grey because of a css inherited rule applied by Bootstrap when there is no href attribute. In mobile, text color was in white as the background and it was not possible to see the text. Now, we transform this link into button to restore the previous behavior and keep it visible in mobile. closes odoo/odoo#28061
Diffstat (limited to 'addons/mail/static/src/xml/web_kanban_activity.xml')
-rw-r--r--addons/mail/static/src/xml/web_kanban_activity.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/web_kanban_activity.xml b/addons/mail/static/src/xml/web_kanban_activity.xml
index eb71ba044c2..8f63b51cdfe 100644
--- a/addons/mail/static/src/xml/web_kanban_activity.xml
+++ b/addons/mail/static/src/xml/web_kanban_activity.xml
@@ -78,9 +78,9 @@
</div>
<div class="dropdown-divider mt-0"/>
<div role="menuitem" class="o_schedule_activity dropdown-header py-1 text-center">
- <a role="button" class="btn btn-secondary mb-1">
+ <button class="btn btn-secondary mb-1">
<i class="fa fa-plus fa-fw"></i><strong>Schedule an activity</strong>
- </a>
+ </button>
</div>
</t>