Skip to content

Commit 782f496

Browse files
authored
Merge pull request #681 from Rahulm2310/p5soundlinksfixx
Fixed the group name links on p5.sound library page
2 parents a75b16f + 6af3144 commit 782f496

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
@@ -471,6 +471,14 @@ div.reference-subgroup {
471471
vertical-align: top;
472472
}
473473

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

475483
/* EXAMPLES IN REF */
476484

@@ -2122,9 +2130,7 @@ footer {
21222130
.column.group-name {
21232131
margin-bottom: 1em;
21242132
}
2125-
#library-page .group-name:hover {
2126-
color: #ED225D;
2127-
}
2133+
21282134
#library-page .group-name {
21292135
margin: 2em 0 0.5em 0;
21302136
}

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)