Skip to content

Commit f2b2b7f

Browse files
committed
better algoia selectors
1 parent 6c00630 commit f2b2b7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/partials/breadcrumbs.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{{#with page.componentVersion}}
66
{{#if (and ./title (ne ./title @root.page.breadcrumbs.0.content))}}
77
<li class="text-link !m-0 !p-0 after:content-['/'] last-of-type:after:content-none after:text-tertiary after:px-2">
8-
<a href="{{{relativize ./url}}}">{{{./title}}}</a>
8+
<a class="component-home" href="{{{relativize ./url}}}">{{{./title}}}</a>
99
</li>
1010
{{/if}}
1111
{{/with}}

src/partials/nav.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class="h-full bg-level1 overflow-y-scroll flex flex-col w-[18.5rem] px-2 pt-2">
99
<div class="flex items-start gap-1 mb-1">
1010
{{#with @root.page.componentVersion}}
11-
<a id="component-home" class="flex flex-grow py-1 px-2 text-h4 hover:bg-level2 rounded transition-colors !no-underline" href="{{{relativize ./url}}}">{{./title}}</a>
11+
<a class="component-home flex flex-grow py-1 px-2 text-h4 hover:bg-level2 rounded transition-colors !no-underline" href="{{{relativize ./url}}}">{{./title}}</a>
1212
{{/with}}
1313
{{> page-versions page=../page}}
1414
</div>

0 commit comments

Comments
 (0)