diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-02-06 17:25:36 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-02-07 11:12:36 +0000 |
| commit | be689c53c13330832510c8cef332ac862d4ed5e8 (patch) | |
| tree | ec3a32084ec6d5bebf9c6a31219c6e65508ce8b8 /addons/web_editor/static/src/less/web_editor.ui.less | |
| parent | 0757ba3c639000edba89448a3a542a9f9c225538 (diff) | |
[FIX] web_editor: review drag and drop in the editor
When dropping a snippet into a page, it is dropped in the drop-zone
which is the nearest of the user cursor. When moving a snippet, that
condition did not apply and the user was required to put the cursor at
the exact location of the drop-zone.
Also, for both drag and drop features, the drop zones which appeared
were not displayed correctly for full width columns, which made dropping
sometimes impossible when multiple col-*-12 were below each other.
task-1937758
closes odoo/odoo#30899
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.less')
| -rw-r--r-- | addons/web_editor/static/src/less/web_editor.ui.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/less/web_editor.ui.less b/addons/web_editor/static/src/less/web_editor.ui.less index 02094adf754..965a0ca820e 100644 --- a/addons/web_editor/static/src/less/web_editor.ui.less +++ b/addons/web_editor/static/src/less/web_editor.ui.less @@ -264,12 +264,12 @@ html[lang] > body.editor_enable [data-oe-translation-state] { } &.oe_vertical { - border: 2px dashed @odoo-brand-primary; + border: @odoo-dropzone-border; border-left: none; border-right: none; width: @odoo-dropzone-size; - float: left; + height: 100%; margin: 0 -@odoo-dropzone-size/2; &:after { |
