Skip to content
Snippets Groups Projects
Commit 1759079c authored by Benjamin Vray's avatar Benjamin Vray Committed by Soukéina Bojabza
Browse files

[FIX] web_editor: fix resizing columns out of parent


Before this commit, it was possible to resize a column so that it
overflows the right border of the row.

Steps to reproduce the bug:
  1. In website edit mode, drop a `media list` snippet in the page.
  2. Select a column.
  3. Resize the column by dragging its left side to the right to make it
  smaller.
  4. Drag its right side to make it bigger and go until the edge of the
  editor => The column overflows and ends outside of the content zone.

This commit prevents the column from overflowing when it has an offset.

task-2837361

closes odoo/odoo#108022

X-original-commit: 2d825e02
Signed-off-by: default avatarBojabza Soukéina (sobo) <sobo@odoo.com>
parent 075b8b6c
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