Fixed CSS problem with Download page.
svn: r13144
This commit is contained in:
parent
1d4f36ac89
commit
3d8ff4b81e
@ -813,13 +813,12 @@ table.exiflist tr td.ColumnValue {
|
|||||||
/* Download
|
/* Download
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
#Download {
|
#Download {
|
||||||
padding-bottom:2cm;
|
margin: 0;
|
||||||
padding-left:.5cm;
|
padding: 0 0.5cm 0 0.5cm;
|
||||||
padding-right:.5cm;
|
|
||||||
height:390px;
|
|
||||||
}
|
}
|
||||||
table.download {
|
table.download {
|
||||||
padding-top:2cm;
|
padding: 0;
|
||||||
|
margin: 2cm 0 2cm 0;
|
||||||
border:solid 2px #000;
|
border:solid 2px #000;
|
||||||
width:100%;
|
width:100%;
|
||||||
nackground-color:#D8F3D6;
|
nackground-color:#D8F3D6;
|
||||||
|
@ -2964,6 +2964,7 @@ class DownloadPage(BasePage):
|
|||||||
if not dlfname1 and not dlfname2:
|
if not dlfname1 and not dlfname2:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# has to be False for some problem with stylesheet
|
||||||
of = self.report.create_file("download")
|
of = self.report.create_file("download")
|
||||||
downloadpage, body = self.write_header(_('Download'), False)
|
downloadpage, body = self.write_header(_('Download'), False)
|
||||||
|
|
||||||
@ -2975,10 +2976,7 @@ class DownloadPage(BasePage):
|
|||||||
if downloadnote:
|
if downloadnote:
|
||||||
note = db.get_note_from_gramps_id(downloadnote)
|
note = db.get_note_from_gramps_id(downloadnote)
|
||||||
note_text = self.get_note_format(note)
|
note_text = self.get_note_format(note)
|
||||||
download += note_text
|
download += Html('p', note_text, id="description")
|
||||||
|
|
||||||
# add clearline before beginning table
|
|
||||||
download += fullclear
|
|
||||||
|
|
||||||
# begin download table
|
# begin download table
|
||||||
with Html('table', class_='infolist download') as table:
|
with Html('table', class_='infolist download') as table:
|
||||||
|
Loading…
Reference in New Issue
Block a user