Skip to content

Commit 8ec5a2a

Browse files
committed
Style struct members like functions
1 parent bd1c5c7 commit 8ec5a2a

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

site/index.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -255,17 +255,13 @@ <h1 class="funcTitle"><%= type.tname %><small><%= type.type %></small></h1>
255255
<p><%= type.data.comments %></p>
256256
<% } %>
257257

258-
<table>
258+
<table class="funcTable">
259259
<% _.each(type.data.fields, function(field) { %>
260260
<tr>
261-
<td><code><%= field.type %></code></td>
262-
<td><code><%= field.name %></code></td>
263-
<tr>
264-
<% if (field.comments) { %>
265-
<tr>
266-
<td colspan="2" class="type-comment"><%= field.comments %></td>
261+
<td valign="top" nowrap="true"><%= field.type %></td>
262+
<td valign="top" class="var"><%= field.name %></td>
263+
<td class="type-comment"><% if (field.comments) { %><%= field.comments %><% } %></td>
267264
</tr>
268-
<% } %>
269265
<% }) %>
270266
</table>
271267

0 commit comments

Comments
 (0)