Skip to content
Snippets Groups Projects
Commit de96c25a authored by Benjamin Vray's avatar Benjamin Vray
Browse files

[FIX] web_editor: prevent horizontal overflow caused by m2m widget


When a vertical overflow is triggered in the snippets menu, a vertical
scrollbar is added making the snippets menu slightly smaller. Most
widgets properly adapt their width, however the many2many dropdown
widget does not, causing a horizontal overflow and its associated
scrollbar.

Steps to reproduce the bug :

- Drag and drop the "text-image" snippet in a page.
- Click on the image in this snippet.
- Set the "visibility" option to "Conditionally".
- A horizontal scrollbar appears in the editor panel.

This commit adapts the CSS of the m2m widget to solve the issue.

task-2779530

closes odoo/odoo#89708

Signed-off-by: default avatarGuillaume-gdi <gdi@odoo.com>
parent 3d2782e0
No related branches found
No related tags found
No related merge requests found
......@@ -1517,6 +1517,7 @@ body.editor_enable.editor_has_snippets {
.o_we_m2m {
we-list, we-list > div, we-list we-select {
margin-top: 0;
max-width: 100%;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment