[PATCH] Only 1m after feed item

Wald Commits scm-commit at wald.intevation.org
Thu Apr 3 16:40:58 CEST 2014


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1396536054 -7200
# Node ID 6fdb28c3872c58965653481109004a4a9b5a47b3
# Parent  e17f0122ca94f80fca1176881804fcd8673aaedd
Only 1m after feed item.

diff -r e17f0122ca94 -r 6fdb28c3872c newsfeed.py
--- a/newsfeed.py	Thu Apr 03 16:38:19 2014 +0200
+++ b/newsfeed.py	Thu Apr 03 16:40:54 2014 +0200
@@ -43,7 +43,7 @@
     postcount += 1
     content = content.encode('utf8')
     oa("<li>")
-    oa('<div style="margin-bottom:2em">')
+    oa('<div style="margin-bottom:1em">')
 
     if len(content) >= max_length:
         oa(content[:(max_length-opacity75)])


More information about the Dive4Elements-commits mailing list