Skip to content

Commit f5edb2c

Browse files
committed
Updating tables
adjusting table headers and size
1 parent 1000ee3 commit f5edb2c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cityehr-documentation-common/src/main/xslt/create-topic-html.xslt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@
9797
</xsl:template>
9898

9999
<xsl:template match="simpletable" mode="body">
100-
<table style="border-collapse: collapse" >
100+
<table style="border-collapse: collapse; width: 85%;">
101101
<xsl:apply-templates select="node()" mode="body"/>
102102
</table>
103103
</xsl:template>
104104

105105
<xsl:template match="sthead" mode="body">
106-
<th>
106+
<tr>
107107
<xsl:apply-templates select="node()" mode="table-head"/>
108-
</th>
108+
</tr>
109109
</xsl:template>
110110

111111
<xsl:template match="strow" mode="body">
@@ -115,11 +115,11 @@
115115
</xsl:template>
116116

117117
<xsl:template match="stentry" mode="table-head">
118-
<td style="padding: 4px; border: 1px solid black;">
118+
<th style="padding: 4px; border: 1px solid black; background-color: #f2f2f2;">
119119
<b>
120120
<xsl:apply-templates select="node()" mode="body"/>
121121
</b>
122-
</td>
122+
</th>
123123
</xsl:template>
124124

125125
<xsl:template match="stentry" mode="table-row">

0 commit comments

Comments
 (0)