From d0ea533c54092e034ab474691df56f8da05ed0d5 Mon Sep 17 00:00:00 2001 From: Bradford Lamson-Scribner Date: Thu, 23 Apr 2020 18:46:43 -0600 Subject: [PATCH] cmd/compile: fix misalignment in sources column of generated ssa.html Fix regression where line numbers in the sources column of generated ssa.html output became misaligned with the source code. This was due to some new margins applied to certain h2 elements during the work to combine identical columns. Fixes #38612 Change-Id: I067ccbfa30d5de5be29aab9863bc1e21f6ded128 Reviewed-on: https://go-review.googlesource.com/c/go/+/229766 Reviewed-by: Josh Bleecher Snyder Run-TryBot: Josh Bleecher Snyder TryBot-Result: Gobot Gobot --- src/cmd/compile/internal/ssa/html.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/compile/internal/ssa/html.go b/src/cmd/compile/internal/ssa/html.go index 730ec6dd3f..ba37a80412 100644 --- a/src/cmd/compile/internal/ssa/html.go +++ b/src/cmd/compile/internal/ssa/html.go @@ -143,6 +143,7 @@ pre { float: left; overflow: hidden; text-align: right; + margin-top: 7px; } .lines div { -- 2.50.0