Skip to content
Snippets Groups Projects
Commit ef7174e1 authored by Benoit Socias's avatar Benoit Socias
Browse files

[FIX] website: break too long table of content generated entries


Before this commit if a Table of Content entry was a too long word
without spaces, it span beyond the width of the menu part of the Table
of Content block.
Note that in Chrome, during Edit mode the words are already split
across several lines because the `contenteditable="true"` of the
`#wrap` node applies some built-in extra styles (not from user agent
stylesheet) among which `overflow-wrap: break-word;`.

After this commit long words are split across several lines.

task-2965279

closes odoo/odoo#99114

Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
parent 292be1b3
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,8 @@
}
}
&.s_table_of_content_vertical_navbar .s_table_of_content_navbar {
overflow-wrap: break-word;
> a.list-group-item-action {
background: none;
color: inherit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment