Closed parfenyev closed 2 years ago
the same CSS can be used as in #148 for .franklin-toc li
PS: if this happens with other items, use the web-developer tools in your browser to figure out the path to the element that needs the wrapping property.
Sorry, but this solution doesn't seem to work.
Checking in the web developer tool you could have seen that it's just the a
that was missing; this works (for both issues)
.franklin-content a.header-anchor,
.franklin-toc li a
{
word-wrap: break-word;
white-space: normal;
}
Thanks, now everything works. Sorry for the simple questions, I'm not familiar with JavaScript.
it's all CSS, not javascript. Glad things work!
I have also found that very long items in lists do not wrap to a new line if they contain hyperlinks (e.g., in table of contents). How can this be fixed? Thank you!