[extensions-web] review: Fix showing of whitespace in file view



commit de3a56ac960c8f61cb5cb29d72ae1d5cc791dbd7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Feb 7 13:13:10 2012 -0500

    review: Fix showing of whitespace in file view

 sweettooth/static/css/review.css |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/sweettooth/static/css/review.css b/sweettooth/static/css/review.css
index 45321ad..98e27d6 100644
--- a/sweettooth/static/css/review.css
+++ b/sweettooth/static/css/review.css
@@ -73,6 +73,7 @@ p.nochanges {
     margin: 0;
     width: 100%;
     line-height: 1.2;
+    white-space: pre;
 }
 
 .linum {
@@ -84,14 +85,6 @@ p.nochanges {
     border-right: 1px solid #ccc;
 }
 
-.diff-line {
-    white-space: pre;
-
-    /* makes blank lines "expand",
-     * keep in sync with line-height in .code */
-    height: 1.2em;
-}
-
 /* colors stolen from Splinter */
 .diff-line.deleted, .fileselector.deleted {
     background-color: #ffccaa;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]