From: Bradford Lamson-Scribner Date: Fri, 24 Apr 2020 00:46:43 +0000 (-0600) Subject: cmd/compile: fix misalignment in sources column of generated ssa.html X-Git-Tag: go1.15beta1~409 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d0ea533c54092e034ab474691df56f8da05ed0d5;p=gostls13.git 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 --- 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 {