Skip to content

Commit b0cf183

Browse files
abd-msyukyu-odooassi-odooMtaylorrshut-odoo
committed
[FIX] mass_mailing: stick the snippets sidebar to its dialog header
The snippets sidebar in a dialog does not stick to the dialog title when scrolling the dialog - concerns: marketing_automation How to reproduce: - create a marketing campaign and add a new Email activity - create a new mail template - choose Event Promo as the Email Template - scroll the dialog to the bottom Issue: - snippets sidebar scrolls alongside the iframe, resulting in parts of the option being hidden, instead of sticking to the dialog title. Solution: - unset the `overflow` css property of the `o_content` element task-4178640 closes odoo#183602 Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com> Co-authored-by: Astik Singh <assi@odoo.com> Co-authored-by: Damien Abeloos <abd@odoo.com> Co-authored-by: Mahdi Cheikh Rouhou <macr@odoo.com> Co-authored-by: Shubham Thanki <shut@odoo.com>
1 parent a983ac4 commit b0cf183

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

addons/mass_mailing/static/src/scss/mass_mailing.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,7 @@ body.editor_has_snippets .o_field_mass_mailing_html div.d-flex:has(iframe) {
200200
min-height: 55vh;
201201
}
202202
}
203+
204+
.o_dialog .o_content:has(.o_field_mass_mailing_html) {
205+
overflow: unset;
206+
}

0 commit comments

Comments
 (0)