[FIX] theme_yes: prevent scroll button editing

Before this commit, it was possible to edit the scroll button of the
cover snippet in Yes theme.

task-2656662

closes odoo/design-themes#520

X-original-commit: d90399677b
Related: odoo/odoo#78562
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
Benjamin Vray
2021-10-15 13:39:04 +00:00
parent 924d1521d6
commit 9e62a84326
+1 -1
View File
@@ -26,7 +26,7 @@
</xpath>
<!-- Scroll Down Button -->
<xpath expr="//*[hasclass('container')]" position="after">
<a class="o_scroll_button rounded-circle align-items-center justify-content-center mx-auto mb-5 text-white" href="#" title="" style="background-color: rgba(25, 41, 37, 0.55) !important;" data-original-title="Scroll down to next section">
<a class="o_scroll_button rounded-circle align-items-center justify-content-center mx-auto mb-5 text-white o_not_editable" href="#" contenteditable="false" title="" style="background-color: rgba(25, 41, 37, 0.55) !important;" data-original-title="Scroll down to next section">
<i class="fa fa-chevron-down fa-1x"></i>
</a>
</xpath>