Some prelim work on builder api.
[librarian.git] / src / librarian / elements / poetry / wers_cd.py
index 49d5a6b..28d779f 100644 (file)
@@ -4,13 +4,11 @@
 from .wers import Wers
 
 class WersCd(Wers):
 from .wers import Wers
 
 class WersCd(Wers):
-    def _txt_build_inner(self, builder):
-        builder.push_text(' ' * 24, prepared=True)
-        super(WersCd, self)._txt_build_inner(builder)
+    HTML_CLASS = Wers.HTML_CLASS + ' verse-cont'
 
 
-    HTML_ATTR = {
-        "style": "padding-left: 12em",
-    }
+    def txt_build_inner(self, builder):
+        builder.push_text(' ' * 24, prepared=True)
+        super().txt_build_inner(builder)
 
     EPUB_ATTR = {
         "style": "margin-left: 12em",
 
     EPUB_ATTR = {
         "style": "margin-left: 12em",