summaryrefslogtreecommitdiffstats
path: root/help3xsl
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-02-12 10:49:37 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-02-12 10:09:43 +0100
commit42b1b45509ab2fa2de686f248781468e09d3f9d8 (patch)
tree9b2e54f188bbfad249e50c6d6364ef0c6df06b58 /help3xsl
parenttdf#146847 (\) Integer Division operator help page (diff)
downloadhelp-42b1b45509ab2fa2de686f248781468e09d3f9d8.tar.gz
help-42b1b45509ab2fa2de686f248781468e09d3f9d8.zip
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.lauhakangas@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/online_transform.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index ac6337d7ec..a4b06b14f2 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>