««« 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
»»»
word-wrap: break-word;
vertical-align: top;
}
-
+div#page.wide table.dir td.name {
+ white-space: nowrap;
+}
.alert {
color: #AA0000;
}
margin-bottom: -120px;
}
h2 { clear: right; }
-
{{if $.DirFlat}}
{{if .HasPkg}}
<tr>
- <td><a href="{{html .Path}}">{{html .Path}}</a></td>
+ <td class="name"><a href="{{html .Path}}">{{html .Path}}</a></td>
<td> </td>
<td style="width: auto">{{html .Synopsis}}</td>
</tr>
{{end}}
{{else}}
<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 style="width: auto">{{html .Synopsis}}</td>
</tr>