mirror of
https://github.com/golang/go
synced 2024-11-15 00:30:31 -07:00
[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 »»»
This commit is contained in:
parent
554316495f
commit
802ac98ffc
@ -108,7 +108,9 @@ table.dir td {
|
|||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
div#page.wide table.dir td.name {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
.alert {
|
.alert {
|
||||||
color: #AA0000;
|
color: #AA0000;
|
||||||
}
|
}
|
||||||
@ -388,4 +390,3 @@ img.gopher {
|
|||||||
margin-bottom: -120px;
|
margin-bottom: -120px;
|
||||||
}
|
}
|
||||||
h2 { clear: right; }
|
h2 { clear: right; }
|
||||||
|
|
||||||
|
@ -192,14 +192,14 @@
|
|||||||
{{if $.DirFlat}}
|
{{if $.DirFlat}}
|
||||||
{{if .HasPkg}}
|
{{if .HasPkg}}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{html .Path}}">{{html .Path}}</a></td>
|
<td class="name"><a href="{{html .Path}}">{{html .Path}}</a></td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td style="width: auto">{{html .Synopsis}}</td>
|
<td style="width: auto">{{html .Synopsis}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{repeat ` ` .Depth}}<a href="{{html .Path}}">{{html .Name}}</a></td>
|
<td class="name">{{repeat ` ` .Depth}}<a href="{{html .Path}}">{{html .Name}}</a></td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
<td style="width: auto">{{html .Synopsis}}</td>
|
<td style="width: auto">{{html .Synopsis}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user