Skip to content

Commit

Permalink
[FEATURE] Add Padding Property To UI\Sheet Directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWeinert committed Apr 22, 2020
1 parent 948f587 commit 14b994d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions template/controls/sheet.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
<xsl:attribute name="style">width: <xsl:value-of select="$sheet/@width"/></xsl:attribute>
</xsl:if>
<div class="sheet">
<xsl:param name="style">
<xsl:if test="$sheet/@padding > 0">
<xsl:text>padding: </xsl:text>
<xsl:value-of select="$sheet/@padding"/>
</xsl:if>
</xsl:param>
<xsl:call-template name="sheet-header">
<xsl:with-param name="header" select="$sheet/header"/>
</xsl:call-template>
Expand Down

0 comments on commit 14b994d

Please sign in to comment.