aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/html.go
diff options
context:
space:
mode:
authorYury Smolsky <yury@smolsky.by>2018-10-25 13:52:50 +0300
committerYury Smolsky <yury@smolsky.by>2018-10-25 14:07:07 +0000
commitc8b2ac68906a154c470a845172f133aceae7c5c7 (patch)
treecfc46a1391e93b3524a9af11c4c48bdcc1212520 /src/cmd/compile/internal/ssa/html.go
parent66bb8ddb956c5ee55b471a019fac2c6817c08ef5 (diff)
downloadgo-c8b2ac68906a154c470a845172f133aceae7c5c7.tar.gz
go-c8b2ac68906a154c470a845172f133aceae7c5c7.zip
cmd/compile: reduce the size of header in ssa.html
Big title and the help link were taking almost 15% of vertical space. The CL makes header smaller. Change-Id: I36f55ceb23b444e8060a479500c5f709cbd3f6f0 Reviewed-on: https://go-review.googlesource.com/c/144577 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/html.go')
-rw-r--r--src/cmd/compile/internal/ssa/html.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/cmd/compile/internal/ssa/html.go b/src/cmd/compile/internal/ssa/html.go
index 499fda5af5..d76d7c7b33 100644
--- a/src/cmd/compile/internal/ssa/html.go
+++ b/src/cmd/compile/internal/ssa/html.go
@@ -50,10 +50,14 @@ body {
font-family: Arial, sans-serif;
}
+h1 {
+ font-size: 18px;
+ display: inline-block;
+ margin: 0 1em .5em 0;
+}
+
#helplink {
- margin-bottom: 15px;
- display: block;
- margin-top: -15px;
+ display: inline-block;
}
#help {