Wie kann ich den description
Text im relatedContent
Bereich einer compilationTemplate
umbrechen?Line Wrap Beschreibungstext in einer CompilationTemplate relatedContent-Bereich in TVML
Mein description
tag:
<description style="tv-text-style: none; font-size:36; font-weight:regular; word-wrap:break-word;">lorem ipsum dolor sit amet consectetur adipiscing elit</description>
Voll Vorlage:
var Template = function() { return `<?xml version="1.0" encoding="UTF-8" ?>
<document>
<compilationTemplate theme="light">
<list>
<relatedContent>
<itemBanner>
<heroImg src="${this.BASEURL}images/shows/bates/BRANDHD2398_AEN_BATE_168121_TVE_000_2398_60_20160303_00_S3_REV_HD_1920x1080-16x9.jpg" />
<description style="tv-text-style: none; font-size:36; font-weight:regular; word-wrap:break-word;">lorem ipsum dolor sit amet consectetur adipiscing elit</description>
</itemBanner>
</relatedContent>
<header>
<title>Bates Motel</title>
<subtitle>Season 4</subtitle>
</header>
<section>
<listItemLockup>
<ordinal minLength="2">1</ordinal>
<title>A Danger to Himself and Others</title>
<decorationLabel>11:14</decorationLabel>
</listItemLockup>
< !-- ... -- >
</section>
</list>
</compilationTemplate>
</document>`
}
Die Textgröße ändert, aber die Beschreibung abschneidet stattdessen auf die nächste Zeile der Verpackung.
Vielen Dank für Ihre Antwort. So was? ' lorem ipsum dolor sit amet consectetur adipiscing elit description> 'Ich sehe keine Veränderung. –
JAL
Ja, so waren meine Gedanken - ich weiß, ich habe es früher gemacht. Lass mich mal schauen, wo/wie ... – Baa
Beantwortete die Antwort. – Baa