X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d04e61819290fc8d6d71b1932c55a774014c1f05..2f3d912ff881e991e4689f1036e23cb6664eb43e:/src/librarian/elements/poetry/wers_wciety.py?ds=sidebyside diff --git a/src/librarian/elements/poetry/wers_wciety.py b/src/librarian/elements/poetry/wers_wciety.py index 8ac2bb3..662e57a 100644 --- a/src/librarian/elements/poetry/wers_wciety.py +++ b/src/librarian/elements/poetry/wers_wciety.py @@ -18,3 +18,8 @@ class WersWciety(Wers): attr = super(WersWciety, self).get_html_attr(builder) attr['style'] = "padding-left: {}em".format(self.typ) return attr + + def get_epub_attr(self, builder): + attr = super(WersWciety, self).get_html_attr(builder) + attr['style'] = "margin-left: {}em".format(self.typ) + return attr