From: Andrew Gerrand Date: Fri, 20 Apr 2012 14:04:13 +0000 (-0400) Subject: [release-branch.go1] doc: don't wrap package names in directory listing X-Git-Tag: go1.0.1~17 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=802ac98ffc5415c693a392bb1c2b3a693765bdd2;p=gostls13.git [release-branch.go1] doc: don't wrap package names in directory listing ««« backport f4f63fb397c6 doc: don't wrap package names in directory listing Fixes #3522. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6063054 »»» --- diff --git a/doc/style.css b/doc/style.css index 95be3a17a4..7f3384c6c2 100644 --- a/doc/style.css +++ b/doc/style.css @@ -108,7 +108,9 @@ table.dir td { word-wrap: break-word; vertical-align: top; } - +div#page.wide table.dir td.name { + white-space: nowrap; +} .alert { color: #AA0000; } @@ -388,4 +390,3 @@ img.gopher { margin-bottom: -120px; } h2 { clear: right; } - diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 41677a69dd..5b7fce8d70 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -192,14 +192,14 @@ {{if $.DirFlat}} {{if .HasPkg}} - {{html .Path}} + {{html .Path}}      {{html .Synopsis}} {{end}} {{else}} - {{repeat `     ` .Depth}}{{html .Name}} + {{repeat `     ` .Depth}}{{html .Name}}      {{html .Synopsis}}