From de31f637a9edec8a94c8fb6124bb30ff1d6ee1ee Mon Sep 17 00:00:00 2001 From: Yury Smolsky Date: Wed, 17 Oct 2018 10:40:44 +0300 Subject: [PATCH] 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 --- src/cmd/compile/internal/ssa/html.go | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.50.0