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

[FIX] web_editor: fix shape flipping

This commit fixes an issue that causes thin spacing to appear between
two snippets containing shapes. This bug had already been fixed in this
commit [1] but the theme snippets have not been adapted to the changes.

With this commit, the shapes of theme snippets are automatically adapted
when they are dropped on the page.

Steps to reproduce the bug:

- Choose the "Clean Theme" for a website.
- Drag and drop a "Call to action" snippet on the page.
- Drag and drop a "Text" snippet with a dark background before it.
- Resize the window to change the window width.
- At some points, the gap will appear.

[1]: https://github.com/odoo/odoo/commit/42b3ad10e0b32b7fc72f801e2c67d6baf938c566



task-2824607
opw-3069213
opw-3057533

closes odoo/odoo#115001

X-original-commit: 256ff539
Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 5e771b13
No related branches found
No related tags found
No related merge requests found
Loading
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