From: Yury Smolsky Date: Wed, 17 Oct 2018 07:40:44 +0000 (+0300) Subject: cmd/compile: make tabs narrow in src column of ssa.html X-Git-Tag: go1.12beta1~746 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=de31f637a9edec8a94c8fb6124bb30ff1d6ee1ee;p=gostls13.git 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 --- 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; }