Add word-break CSS to TOC links

Bug: T306913
Change-Id: I95420c837a779a85e55c20c7a9d1ae74b632c6cf
This commit is contained in:
bwang 2022-04-27 14:22:53 -05:00 committed by Bernard Wang
parent b06aba7619
commit 61eec96090
1 changed files with 8 additions and 4 deletions

View File

@ -26,10 +26,14 @@
border: 0;
}
.sidebar-toc-link > * {
// Prevent click events on the link's contents so that we can use event
// delegation and have the target be the anchor element instead.
pointer-events: none;
.sidebar-toc-link {
word-break: break-word;
> * {
// Prevent click events on the link's contents so that we can use event
// delegation and have the target be the anchor element instead.
pointer-events: none;
}
}
.sidebar-toc-numb {