]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: reduce the size of header in ssa.html
authorYury Smolsky <yury@smolsky.by>
Thu, 25 Oct 2018 10:52:50 +0000 (13:52 +0300)
committerYury Smolsky <yury@smolsky.by>
Thu, 25 Oct 2018 14:07:07 +0000 (14:07 +0000)
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>
src/cmd/compile/internal/ssa/html.go

index 499fda5af56c31adcbf7ab2fd502effd41c9ded8..d76d7c7b334650a80d2bc603746339d787ffc77d 100644 (file)
@@ -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 {