aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/html.go
diff options
context:
space:
mode:
authorYury Smolsky <yury@smolsky.by>2018-10-17 10:40:44 +0300
committerYury Smolsky <yury@smolsky.by>2018-10-17 14:21:43 +0000
commitde31f637a9edec8a94c8fb6124bb30ff1d6ee1ee (patch)
tree72820954ecc32bd6c483944413175545254e00c0 /src/cmd/compile/internal/ssa/html.go
parenta2381f59662f8118c5cd78baaa90e8b186947e8f (diff)
downloadgo-de31f637a9edec8a94c8fb6124bb30ff1d6ee1ee.tar.gz
go-de31f637a9edec8a94c8fb6124bb30ff1d6ee1ee.zip
cmd/compile: make tabs narrow in src column of ssa.html
Too deeply nested code is hard to fit in ssa.html. This CL reduces the tab size to 4 characters. Change-Id: I08643b0868bce3439567084c7d701654655f23d7 Reviewed-on: https://go-review.googlesource.com/c/142857 Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/html.go')
-rw-r--r--src/cmd/compile/internal/ssa/html.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/ssa/html.go b/src/cmd/compile/internal/ssa/html.go
index b7d5f912db..499fda5af5 100644
--- a/src/cmd/compile/internal/ssa/html.go
+++ b/src/cmd/compile/internal/ssa/html.go
@@ -109,6 +109,12 @@ code, pre, .lines, .ast {
font-size: 12px;
}
+pre {
+ -moz-tab-size: 4;
+ -o-tab-size: 4;
+ tab-size: 4;
+}
+
.allow-x-scroll {
overflow-x: scroll;
}