Skip to content

Commit 8834459

Browse files
author
Lauren McCarthy
committed
Merge branch 'master' of github.com:processing/p5.js-website
2 parents 1e62d5c + 3dd19d2 commit 8834459

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/assets/css/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,6 +1342,9 @@ h4 + p {display: inline;}
13421342
float:left;
13431343
}
13441344

1345+
.method_description p {
1346+
margin-top: 0;
1347+
}
13451348

13461349
section {
13471350
padding:0;

src/yuidoc-p5-theme-src/scripts/tpl/class.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h4>Methods</h4>
2424
<table>
2525
<% _.each(methods, function(item) { %>
2626
<tr>
27-
<td><a href="<%=item.hash%>" <% if (item.module !== module) { %>class="addon"<% } %>><%=item.name%><% if (item.itemtype === 'method') { %>()<%}%></a></td><td><%= item.description %></td>
27+
<td><a href="<%=item.hash%>" <% if (item.module !== module) { %>class="addon"<% } %>><%=item.name%><% if (item.itemtype === 'method') { %>()<%}%></a></td><td><div class="method_description"><%= item.description %></div></td>
2828
</tr>
2929
<% }); %>
3030
</table>

0 commit comments

Comments
 (0)