[FIX] web: fixed word breaking in pie chart tooltip of graph view

Currently, words are not breaking properly when reaching at the
end of a line in the pie chart tooltip. It happens because of the
'word-break: break-all;' property used in the o_tooltip_legend class.
and this property breaks the words at any character to prevent overflows.

So this commit fixes the issue by removing the word-break property
so that the CSS automatically applies the default line break rules.

TaskID-2677129

closes odoo/odoo#80512

X-original-commit: 5dfd66f03e914fad58deeb45fcc31210293ae162
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
This commit is contained in:
Hardik Prajapati
2021-11-29 13:09:44 +00:00
parent 28a3bdbc4e
commit 1b3b1ce89f
2 changed files with 0 additions and 2 deletions
@@ -23,7 +23,6 @@
padding:10px;
z-index: 2;
pointer-events: none;
word-break: break-all;
}
div.o_graph_custom_tooltip {
@@ -24,7 +24,6 @@
padding: 10px;
z-index: 2;
pointer-events: none;
word-break: break-all;
}
div.o_graph_custom_tooltip {