]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: make tabs narrow in src column of ssa.html
authorYury Smolsky <yury@smolsky.by>
Wed, 17 Oct 2018 07:40:44 +0000 (10:40 +0300)
committerYury Smolsky <yury@smolsky.by>
Wed, 17 Oct 2018 14:21:43 +0000 (14:21 +0000)
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>
src/cmd/compile/internal/ssa/html.go

index b7d5f912db32cd092c8f6360a45ef12f8095c56b..499fda5af56c31adcbf7ab2fd502effd41c9ded8 100644 (file)
@@ -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;
 }