From 45bb546f0fb12711fbebbfb99f52cdc7fec268a7 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 24 Aug 2007 21:21:02 +0000 Subject: [PATCH] Fixed bug where CSS text centering in downloaded wiki HTML caused Thunderbird to display the entire message as centered if the HTML was sent as an email attachment. --- static/css/download.css | 2 +- view/Html_file.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/css/download.css b/static/css/download.css index 000f41f..d87ac9c 100644 --- a/static/css/download.css +++ b/static/css/download.css @@ -1,7 +1,6 @@ body { padding: 1em; background-color: #fafafa; - text-align: center; line-height: 140%; } @@ -25,6 +24,7 @@ body { h1 { margin-top: 0em; + text-align: center; } h3 { diff --git a/view/Html_file.py b/view/Html_file.py index 03caa45..4851ac0 100644 --- a/view/Html_file.py +++ b/view/Html_file.py @@ -33,8 +33,8 @@ class Html_file( Html ): class_ = u"note_frame", ), ) for note in notes ], + A( "Luminotes", href = "http://luminotes.com/" ), id = u"center_area", ), ), - A( "Luminotes", href = "http://luminotes.com/" ), )