@@ -395,7 +395,7 @@ const likeAction = async () => {
395395 v-if =" mainLink"
396396 :to =" mainLink"
397397 aria-keyshortcuts =" m"
398- class =" decoration-none border-b-2 p-1 hover:border-accent/50 lowercase"
398+ class =" decoration-none border-b-2 p-1 hover:border-accent/50 lowercase focus-visible:[outline-offset:-2px]! "
399399 :class =" page === 'main' ? 'border-accent text-accent!' : 'border-transparent'"
400400 >
401401 {{ $t('package.links.main') }}
@@ -404,7 +404,7 @@ const likeAction = async () => {
404404 v-if =" docsLink"
405405 :to =" docsLink"
406406 aria-keyshortcuts =" d"
407- class =" decoration-none border-b-2 p-1 hover:border-accent/50"
407+ class =" decoration-none border-b-2 p-1 hover:border-accent/50 focus-visible:[outline-offset:-2px]! "
408408 :class =" page === 'docs' ? 'border-accent text-accent!' : 'border-transparent'"
409409 >
410410 {{ $t('package.links.docs') }}
@@ -413,7 +413,7 @@ const likeAction = async () => {
413413 v-if =" codeLink"
414414 :to =" codeLink"
415415 aria-keyshortcuts =" ."
416- class =" decoration-none border-b-2 p-1 hover:border-accent/50"
416+ class =" decoration-none border-b-2 p-1 hover:border-accent/50 focus-visible:[outline-offset:-2px]! "
417417 :class =" page === 'code' ? 'border-accent text-accent!' : 'border-transparent'"
418418 >
419419 {{ $t('package.links.code') }}
@@ -423,7 +423,7 @@ const likeAction = async () => {
423423 :to =" diffLink"
424424 :title =" $t('compare.compare_versions_title')"
425425 aria-keyshortcuts =" f"
426- class =" decoration-none border-b-2 p-1 hover:border-accent/50"
426+ class =" decoration-none border-b-2 p-1 hover:border-accent/50 focus-visible:[outline-offset:-2px]! "
427427 :class =" page === 'diff' ? 'border-accent text-accent!' : 'border-transparent'"
428428 >
429429 {{ $t('compare.compare_versions') }}
@@ -453,10 +453,6 @@ const likeAction = async () => {
453453 display : none ;
454454}
455455
456- .packageNav > :global(a :focus-visible ) {
457- outline-offset : -2px !important ;
458- }
459-
460456@media (max-width : 639.9px ) {
461457 .packageNav > :global(a kbd ) {
462458 display : none ;
0 commit comments