diff options
| author | Benjamin Vray <bvr@odoo.com> | 2025-01-15 14:01:46 +0100 |
|---|---|---|
| committer | Benjamin Vray <bvr@odoo.com> | 2025-02-04 19:45:43 +0000 |
| commit | 1761d643344594e32a8791df4e65651b94bfd3fc (patch) | |
| tree | ddee4bd7bae9d2626c6db9e3333bfe055ffe2bd9 | |
| parent | c7844819d649859d872c7e7f2a3c097f9c1a33c8 (diff) | |
[FIX] web_editor: text overflow on the block install button
The text on the button to install a block, for example, the "products"
block if e-commerce is not installed, overflows when translated into
certain languages that make it longer, such as Dutch. This commit adds
an ellipsis to the text.
X-original-commit: https://github.com/odoo/odoo/commit/a77e20ef04acee056636b388a9df7631823c47a0
Part-of: odoo/odoo#196286
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
| -rw-r--r-- | addons/web_editor/static/src/scss/wysiwyg_snippets.scss | 1 |
1 files changed, 1 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 e6eea418492..c2e6f225a7b 100644 --- a/addons/web_editor/static/src/scss/wysiwyg_snippets.scss +++ b/addons/web_editor/static/src/scss/wysiwyg_snippets.scss @@ -394,6 +394,7 @@ .btn.o_install_btn { z-index: 1; @include o-position-absolute($top: 10px); + @include text-truncate(); } &:not(:hover) .btn.o_install_btn { |
