Changed <pre> margin to confirm with <p> margins
authorJoar Wandborg <git@wandborg.com>
Tue, 7 Aug 2012 22:22:52 +0000 (00:22 +0200)
committerJoar Wandborg <git@wandborg.com>
Tue, 7 Aug 2012 22:22:52 +0000 (00:22 +0200)
mediagoblin/static/css/base.css

index 6909bf2809e48d1fff42478112a831d012c988d2..0a14335a88a19845cbd5557dfd09f04692a35745 100644 (file)
@@ -558,13 +558,11 @@ pre, code {
 
 pre {
   overflow: auto;
-  /* -10px, because it is usually preceded by <p> with margin-bottom: 20px */ 
-  margin: -10px 0 10px 0;
+  margin-bottom: 20px;
 }
 
 .comment_wrapper pre {
-  /* same as above, but with 2px */
-  margin: 8px 0 10px 0;
+  margin-bottom: 2px;
 }
 
 .ascii-wrapper pre {