Skip to content

Commit ef0c073

Browse files
committed
make component title in component drawer clickable
1 parent 54642e4 commit ef0c073

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/css/nav.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ html.is-clipped--nav {
238238

239239
.nav-panel-explore .component .title {
240240
font-weight: var(--body-font-weight-bold);
241+
color: inherit;
241242
}
242243

243244
.nav-panel-explore .versions {

src/partials/nav-explore.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<ul class="components">
99
{{#each site.components}}
1010
<li class="component{{#if (eq this @root.page.component)}} is-current{{/if}}">
11-
<span class="title">{{{./title}}}</span>
11+
<a class="title" href="{{{relativize ./url}}}">{{{./title}}}</a>
1212
<ul class="versions">
1313
{{#each ./versions}}
1414
<li class="version

0 commit comments

Comments
 (0)