Skip to content

Commit 58ef678

Browse files
committed
Display the struct members table more like the function param table
1 parent 9feae6c commit 58ef678

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

site/index.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,12 @@ <h1 class="structTitle"><%= type.tname %><small><%= type.type %></small></h1>
258258
<table class="structTable">
259259
<% _.each(type.data.fields, function(field) { %>
260260
<tr>
261-
<td valign="top">
262-
<code><%= field.type %></code>
263-
<span class="var"><%= field.name %>
264-
</td>
261+
<td valign="top"><%= field.type %></td>
262+
<td class="var"><%= field.name %></td>
265263
<% if (field.comments) { %>
266264
</tr>
267265
<tr>
268-
<td><span class="comment"><%= field.comments %></td>
266+
<td colspan="2"><span class="comment"><%= field.comments %></td>
269267
<% } %>
270268
</tr>
271269
<% }) %>

0 commit comments

Comments
 (0)