Skip to content

Commit

Permalink
Merge pull request #3308 from studer-raimann/fix/30563/6/fixed_mediao…
Browse files Browse the repository at this point in the history
…bject_height

fixed #30563: mediaobject fixed height
  • Loading branch information
alex40724 authored Apr 29, 2021
2 parents 347de7c + 53fb56f commit d241c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/COPage/xsl/page.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2958,7 +2958,7 @@
</xsl:if>
<!-- see #bug22632 -->
<xsl:if test="$width = '' and $height = ''">
<xsl:attribute name="style">max-width: 100%; width: 100%;</xsl:attribute>
<xsl:attribute name="style">max-width: 100%; width: 100%; max-height: 100%;</xsl:attribute>
</xsl:if>
<xsl:if test="$mode != 'edit' and
(../MediaAliasItem[@Purpose = $curPurpose]/Parameter[@Name = 'autostart']/@Value = 'true' or
Expand Down

0 comments on commit d241c71

Please sign in to comment.