[FIX] theme_bistro, theme_monglia: prevent scroll button editing

Before this commit, it was possible to edit the scroll button of the
cover snippet in Bistro and Monglia themes.

task-2656662

closes odoo/design-themes#518

Related: odoo/odoo#78532
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 17d4df53f9
commit d90399677b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
</xpath>
<!-- Scroll Down button -->
<xpath expr="//div[hasclass('container')]" position="after">
<a class="o_scroll_button rounded-circle align-items-center justify-content-center mx-auto bg-o-color-5 mb-2" href="#" title="Scroll down to next section">
<a class="o_scroll_button rounded-circle align-items-center justify-content-center mx-auto bg-o-color-5 mb-2 o_not_editable" href="#" contenteditable="false" title="Scroll down to next section">
<i class="fa fa-angle-down fa-2x"/>
</a>
</xpath>