diff --git a/doc/style.css b/doc/style.css index 95be3a17a46..7f3384c6c2b 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 41677a69dd7..5b7fce8d70b 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}}