From 4ad533583d0194672e7d3bc6fb8b67c8e905d853 Mon Sep 17 00:00:00 2001 From: Timothy Studd Date: Wed, 6 Jan 2016 22:13:13 -0800 Subject: [PATCH] x/tools/godoc: fixed width limit for non-paragraph text Change-Id: I6020e03959a434622e3e999e0054849f0bfb522f Fixes: golang/go#13602 Reviewed-on: https://go-review.googlesource.com/18361 Reviewed-by: Francesc Campoy Flores --- godoc/static/static.go | 2 +- godoc/static/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }