Skip to content

Commit 9c93dd9

Browse files
Goamansubhadeepdev
authored andcommitted
Fixed unnecessary new line in alert snippet
Before: In edit mode, creating an alert snippet would create an empty new line at the begining of the snippet.
1 parent 47f53c7 commit 9c93dd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

addons/website/views/snippets/s_alert.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<odoo>
33

44
<template id="s_alert" name="Alert">
5-
<div class="s_alert s_alert_md alert alert-info w-100 clearfix" role="alert" data-vcss="001">
5+
<div class="s_alert s_alert_md alert alert-info w-100 clearfix o-contenteditable-false" role="alert" data-vcss="001">
66
<i class="fa fa-lg fa-info-circle fa-stack d-flex align-items-center justify-content-center me-3 p-2 rounded-1 s_alert_icon"/>
7-
<div class="s_alert_content">
7+
<div class="s_alert_content o-contenteditable-true">
88
<p>Explain the benefits you offer. <br/>Don't write about products or services here, write about solutions.</p>
99
</div>
1010
</div>

0 commit comments

Comments
 (0)