From e9f99dff16806031ebbf91303ef081db6f4738e5 Mon Sep 17 00:00:00 2001 From: vishal padhiyar Date: Wed, 2 Nov 2022 09:53:19 +0000 Subject: [PATCH] [IMP] web_editor: improve link popover PURPOSE Simply improve the design of the link popover SPECIFICATION - "ellipsis" the link preview instead of wrapping it - only keep a 0.5rem gap between each of the right icons Task-2916270 closes odoo/odoo#108497 X-original-commit: bb1f37226dcd842abf4ec63ecf037f5ce3a3441b Signed-off-by: David Monjoie (dmo) --- addons/web_editor/static/src/scss/wysiwyg.scss | 2 +- addons/web_editor/static/src/xml/wysiwyg.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/web_editor/static/src/scss/wysiwyg.scss b/addons/web_editor/static/src/scss/wysiwyg.scss index a563aa888c3..ff39e9b2f90 100644 --- a/addons/web_editor/static/src/scss/wysiwyg.scss +++ b/addons/web_editor/static/src/scss/wysiwyg.scss @@ -667,7 +667,7 @@ img::selection { } .o_we_url_link { - word-break: break-all; + width: 100px; } .o_we_full_url { diff --git a/addons/web_editor/static/src/xml/wysiwyg.xml b/addons/web_editor/static/src/xml/wysiwyg.xml index e41cf3b4ff8..314428cd7ad 100644 --- a/addons/web_editor/static/src/xml/wysiwyg.xml +++ b/addons/web_editor/static/src/xml/wysiwyg.xml @@ -169,14 +169,14 @@