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 <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Bradford Lamson-Scribner 2020-04-23 18:46:43 -06:00 committed by Josh Bleecher Snyder
parent f5fcc9b8e0
commit d0ea533c54
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ pre {
float: left;
overflow: hidden;
text-align: right;
margin-top: 7px;
}
.lines div {