Skip to content

Commit b0853e1

Browse files
smasher164julieqiu
authored andcommitted
content/static/css: add word-break to filenames in documentation
In the "Package Files" section, filenames longer than the column-limit overflow onto the next column. See https://i.imgur.com/5SrSWaZ.png. This change fixes this behavior by adding a word-break to the files list. See https://i.imgur.com/rw8anB9.png. Fixes golang/go#40889. Change-Id: I716066644436576063779f33e56e15f7eb2f3f4f Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/249122 Reviewed-by: Julie Qiu <[email protected]> Run-TryBot: Julie Qiu <[email protected]>
1 parent 7613ef5 commit b0853e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/static/css/stylesheet.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@ code {
12651265
.Documentation-filesList {
12661266
column-count: 3;
12671267
column-width: 12.5rem;
1268+
word-break: break-all;
12681269
}
12691270

12701271
.Versions-list {

0 commit comments

Comments
 (0)