Skip to content

Commit

Permalink
make component title in component drawer a link
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Dec 7, 2020
1 parent 23b175e commit 72f72e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ html.is-clipped--nav {

.nav-panel-explore .component .title {
font-weight: var(--body-font-weight-bold);
color: inherit;
}

.nav-panel-explore .versions {
Expand Down
2 changes: 1 addition & 1 deletion src/partials/nav-explore.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ul class="components">
{{#each site.components}}
<li class="component{{#if (eq this @root.page.component)}} is-current{{/if}}">
<span class="title">{{{./title}}}</span>
<a class="title" href="{{{relativize ./url}}}">{{{./title}}}</a>
<ul class="versions">
{{#each ./versions}}
<li class="version
Expand Down

0 comments on commit 72f72e8

Please sign in to comment.