content: wrap functions and methods
Overflow fext for functions and methods are now wrapped.
Fixes golang/go#43368
Trust: Julie Qiu
Run-TryBot: Julie Qiu
TryBot-Result: kokoro
@@ -1348,6 +1348,14 @@ pre {
column-width: 12.5rem;
word-break: break-all;
}
+/* See https://golang.org/issue/43368 for context. */
+.Documentation-function pre,
+.Documentation-typeFunc pre,
+.Documentation-typeMethod pre {
+ white-space: pre-wrap;
+ word-break: break-all;
+ word-wrap: break-word;
+}
.Versions-list {
list-style: none;
