From 3d8ff4b81e6b47b0ea94e584acc0fc50f80294b9 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Tue, 1 Sep 2009 00:42:36 +0000 Subject: [PATCH] Fixed CSS problem with Download page. svn: r13144 --- src/data/Web_Visually.css | 9 ++++----- src/plugins/webreport/NarrativeWeb.py | 6 ++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/data/Web_Visually.css b/src/data/Web_Visually.css index ce66c7203..617dcc358 100644 --- a/src/data/Web_Visually.css +++ b/src/data/Web_Visually.css @@ -813,13 +813,12 @@ table.exiflist tr td.ColumnValue { /* Download ----------------------------------------------------- */ #Download { - padding-bottom:2cm; - padding-left:.5cm; - padding-right:.5cm; - height:390px; + margin: 0; + padding: 0 0.5cm 0 0.5cm; } table.download { - padding-top:2cm; + padding: 0; + margin: 2cm 0 2cm 0; border:solid 2px #000; width:100%; nackground-color:#D8F3D6; diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 77cc25142..b769d6432 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -2964,6 +2964,7 @@ class DownloadPage(BasePage): if not dlfname1 and not dlfname2: return + # has to be False for some problem with stylesheet of = self.report.create_file("download") downloadpage, body = self.write_header(_('Download'), False) @@ -2975,10 +2976,7 @@ class DownloadPage(BasePage): if downloadnote: note = db.get_note_from_gramps_id(downloadnote) note_text = self.get_note_format(note) - download += note_text - - # add clearline before beginning table - download += fullclear + download += Html('p', note_text, id="description") # begin download table with Html('table', class_='infolist download') as table: