diff options
| author | qsm-odoo <qsm@odoo.com> | 2020-09-03 07:03:37 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2020-10-06 10:09:33 +0000 |
| commit | 5d3310cea75014ce3c43ee89235cd42b87e0cf99 (patch) | |
| tree | 0ad15cb88a0640b1a19c7dc552031cebee8f6052 /addons/web_editor/static/src/scss | |
| parent | 0f81816d4ddb0febd28f6c6bb5dd50ae570333e1 (diff) | |
[FIX] web_editor: allow to go the parent snippet more easily
Before this commit to select a parent snippet you had to click on
its title in the editor panel.
After this commit, we can still click on the title but also on the
whole line. At the same time, make it so the title has a pointer
cursor and so that long titles work too.
task-2327182
closes odoo/odoo#56986
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Co-authored-by: Benjamin Vray <bvr@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss')
| -rw-r--r-- | addons/web_editor/static/src/scss/wysiwyg_snippets.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss index 564d4ed94be..ef54977e7da 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -553,6 +553,10 @@ body.editor_enable.editor_has_snippets { font-size: $o-we-sidebar-content-main-title-font-size; > span { + @include o-text-overflow(); + flex: 1 1 auto; // Make it full-width so that it is easier to click on + cursor: pointer; + color: $o-we-sidebar-content-main-title-color !important; line-height: $o-we-sidebar-content-main-title-height; } |
