help3xsl/online_transform.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 42b1b45509ab2fa2de686f248781468e09d3f9d8 Author: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> AuthorDate: Sat Feb 12 10:49:37 2022 +0200 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Sat Feb 12 10:09:43 2022 +0100 Use max-width in YouTube placeholder style Change-Id: I8acaa11f8d8c11f5034cea7c4dfc247cee90d487 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129857 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index ac6337d7e..a4b06b14f 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -1265,7 +1265,7 @@ <xsl:variable name="auxID" select="concat('obj',generate-id())"/> <xsl:choose> <xsl:when test="starts-with(@type,'video/youtube')"> - <div id="{@id}" class="youtube_placeholder" style="border: 1px solid #eee; width:500px; padding: 10px;"> + <div id="{@id}" class="youtube_placeholder" style="border: 1px solid #eee; max-width:500px; padding: 10px;"> <button style="background-color: red;" onClick="youtubeLoader('{@id}', 700, 394)" > <xsl:value-of select="$ytvideobutton"/> </button>