mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 00:13:50 +02:00
...
This commit is contained in:
parent
ecd4d6ddea
commit
c006e9cdca
1 changed files with 2 additions and 2 deletions
|
|
@ -392,9 +392,9 @@ def flatten_head(self, item, stylizer, href):
|
|||
href = item.relhref(href)
|
||||
etree.SubElement(head, XHTML('link'),
|
||||
rel='stylesheet', type=CSS_MIME, href=href)
|
||||
stylizer.page_rule['margin-top'] = '%fpt'%\
|
||||
stylizer.page_rule['margin-top'] = '%gpt'%\
|
||||
float(self.context.margin_top)
|
||||
stylizer.page_rule['margin-bottom'] = '%fpt'%\
|
||||
stylizer.page_rule['margin-bottom'] = '%gpt'%\
|
||||
float(self.context.margin_bottom)
|
||||
|
||||
items = stylizer.page_rule.items()
|
||||
|
|
|
|||
Loading…
Reference in a new issue