faustedition / faust-gen-html

Pipelines to generate HTML for the Faust edition's reading texts and prints.
1 stars 4 forks source link

speaker on new line in app on 5357 #588

Closed gerritbruening closed 5 years ago

gerritbruening commented 6 years ago

Note the | in the printed text: grafik It would be logical, I think, to render speaker on a new line sinces this is how speaker generally appears. What do you think?

thvitt commented 6 years ago

When enforcing block rendering for speakers this looks rather torn apart:

.speaker {display: block;}

thvitt commented 6 years ago

Alternative with a 'simple' line break when inside rdg and when not the first child:

screenshot_138

.rdg .speaker::before { content: '\A'; white-space: pre; }
.rdg .speaker:first-child::before { content: ''; white-space:  normal }
gerritbruening commented 5 years ago

Hübsch, danke!