diff --git a/godoc/static/static.go b/godoc/static/static.go index 4457c715b2..845cb5de7d 100644 --- a/godoc/static/static.go +++ b/godoc/static/static.go @@ -2816,7 +2816,7 @@ a:hover, .exampleHeading .text:hover { text-decoration: underline; } -p { +p, li { max-width: 800px; word-wrap: break-word; } diff --git a/godoc/static/style.css b/godoc/static/style.css index 4d2b07a78d..5fbf97a28f 100644 --- a/godoc/static/style.css +++ b/godoc/static/style.css @@ -42,7 +42,7 @@ a:hover, .exampleHeading .text:hover { text-decoration: underline; } -p { +p, li { max-width: 800px; word-wrap: break-word; }