Fix code layout in h2 tags in docs
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Mon, 13 Dec 2021 21:43:17 +0000 (16:43 -0500)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Tue, 14 Dec 2021 19:07:03 +0000 (14:07 -0500)
Code snippets in h2 blocks looked smushed, so this gives them
a bit more space.

Reported-by: Justin Pryzby <pryzby@telsasoft.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
media/css/main.css

index d97da4dd0ad10534c10788dccb539584ce72f200..e7b1455c607ee81b899772e1bc35bdff2ac1861f 100644 (file)
@@ -877,6 +877,14 @@ code,
   font-size: inherit !important;
 }
 
+#docContent h2 code {
+  font-size: inherit !important;
+  margin-bottom: 0em;
+  margin-left: 0.5em;
+  margin-right: 0.5em;
+  margin-top: 0em;
+}
+
 #docContent .NAVHEADER table th,
 #docContent .navheader table th {
   text-align: center;