Skip to content

Commit 6af3144

Browse files
committed
fixed the p5sound group-name links
1 parent 1b6a082 commit 6af3144

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/assets/css/main.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,14 @@ div.reference-subgroup {
469469
vertical-align: top;
470470
}
471471

472+
#library-page .group-name{
473+
display: inline-block;
474+
}
475+
476+
#library-page .group-name:hover {
477+
color: #ED225D;
478+
}
479+
472480

473481
/* EXAMPLES IN REF */
474482

@@ -2108,9 +2116,7 @@ footer {
21082116
.column.group-name {
21092117
margin-bottom: 1em;
21102118
}
2111-
#library-page .group-name:hover {
2112-
color: #ED225D;
2113-
}
2119+
21142120
#library-page .group-name {
21152121
margin: 2em 0 0.5em 0;
21162122
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h3><%= module.name %> library</h3>
1313
<% if (group.name !== module.name && group.name !== 'p5') { %>
1414
<% if (group.hash) { %> <a href="<%=group.hash%>" <% if (group.module !== module.name) { %>class="core"<% } %>><% } %>
1515
<h4 class="group-name <% if (t == 0) { %> first<%}%>"><%=group.name%></h4>
16-
<% if (group.hash) { %> </a> <% } %>
16+
<% if (group.hash) { %> </a><br> <% } %>
1717
<% } %>
1818
<% _.each(group.items.filter(function(item) {return item.access !== 'private'}), function(item) { %>
1919
<a href="<%=item.hash%>" <% if (item.module !== module.name) { %>class="core"<% } %>><%=item.name%><% if (item.itemtype === 'method') { %>()<%}%></a><br>

0 commit comments

Comments
 (0)