X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/d04e61819290fc8d6d71b1932c55a774014c1f05..d3d58ca2b55f820b1d5ce30260793e0848bb1247:/src/librarian/elements/poetry/wers_wciety.py?ds=inline diff --git a/src/librarian/elements/poetry/wers_wciety.py b/src/librarian/elements/poetry/wers_wciety.py index 8ac2bb3..8fbd175 100644 --- a/src/librarian/elements/poetry/wers_wciety.py +++ b/src/librarian/elements/poetry/wers_wciety.py @@ -1,3 +1,6 @@ +# This file is part of Librarian, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. +# from .wers import Wers @@ -18,3 +21,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