Fixed CSS problem with Download page.

svn: r13144
This commit is contained in:
Rob G. Healey 2009-09-01 00:42:36 +00:00
parent 1d4f36ac89
commit 3d8ff4b81e
2 changed files with 6 additions and 9 deletions

View File

@ -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;

View File

@ -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: