com web/pres2: Tweaks: reveal_template.php

[email protected] (Rasmus Lerdorf) Tue, 26 May 2015 05:59:16 +0000
Newsgroups php.pres
Message-ID <[email protected]>
Commit:    97c8e3e80d3dec8e00c04daef0852911dc834862
Author:    Rasmus Lerdorf <[email protected]>         Mon, 25 May 2015 22:59:16 -0700
Parents:   99236af3cf4e2468516dc9afe4e3e0c2ebbb3326
Branches:  master

Link:       http://git.php.net/?p=web/pres2.git;a=commitdiff;h=97c8e3e80d3dec8e00c04daef0852911dc834862

Log:
Tweaks

Changed paths:
  M  reveal_template.php


Diff:
diff --git a/reveal_template.php b/reveal_template.php
index 9085c06..c546890 100644
--- a/reveal_template.php
+++ b/reveal_template.php
@@ -28,6 +28,7 @@
 		*/
         .reveal pre code {
                 display: block;
+                max-height: 600px;
                 overflow-x: auto;
                 padding: 0.5em;
                 line-height: 125%;
@@ -42,7 +43,7 @@
             padding: 0.5em;
             background: #000;
             color: #ddd;
-			line-height: 120%;
+            line-height: 125%;
             -webkit-text-size-adjust: none;
         }
         /* Left-align h3 and h4 if they are p elements */