mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 19:54:18 +02:00
...
This commit is contained in:
parent
5a693a641c
commit
2e893908e3
1 changed files with 1 additions and 1 deletions
|
|
@ -654,7 +654,7 @@ def first_vertical_align(self):
|
|||
if val != 'baseline':
|
||||
return val
|
||||
parent = self._get_parent()
|
||||
if parent is not None:
|
||||
if parent is not None and 'inline' in parent['display']:
|
||||
return parent.first_vertical_align
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Reference in a new issue