Skip to content

Commit 84f7341

Browse files
committed
Address a11y issues from CI check related to clickable areas on package page
1 parent 8ab70c1 commit 84f7341

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/Package/DeprecatedTree.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function getDepthStyle(depth: DependencyDepth) {
8888
name: 'package',
8989
params: { package: [...pkg.name.split('/'), 'v', pkg.version] },
9090
}"
91-
class="font-mono text-sm font-medium hover:underline truncate"
91+
class="font-mono text-sm font-medium hover:underline truncate py-4"
9292
:class="getDepthStyle(pkg.depth).text"
9393
>
9494
{{ pkg.name }}@{{ pkg.version }}

app/pages/[...package].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ function handleClick(event: MouseEvent) {
979979
<h2 id="readme-heading" class="group text-xs text-fg-subtle uppercase tracking-wider mb-4">
980980
<a
981981
href="#readme"
982-
class="inline-flex items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline"
982+
class="inline-flex py-4 px-2 items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline"
983983
>
984984
{{ $t('package.readme.title') }}
985985
<span

0 commit comments

Comments
 (0)