Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions app/components/Package/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const likeAction = async () => {

<template>
<!-- Package header -->
<header class="bg-bg pt-5 w-full container">
<header class="bg-bg pt-5 pb-1 w-full container">
<!-- Package name and version -->
<div class="flex items-baseline justify-between gap-x-2 gap-y-1 flex-wrap min-w-0">
<CopyToClipboardButton
Expand Down Expand Up @@ -319,7 +319,7 @@ const likeAction = async () => {
</header>
<div
ref="header"
class="w-full bg-bg sticky top-14 z-50 border-b border-border pt-2"
class="w-full bg-bg sticky top-14 z-10 border-b border-border pt-2"
:class="[$style.packageHeader]"
data-testid="package-subheader"
>
Expand Down Expand Up @@ -395,7 +395,7 @@ const likeAction = async () => {
v-if="mainLink"
:to="mainLink"
aria-keyshortcuts="m"
class="decoration-none border-b-2 p-1 hover:border-accent/50 lowercase"
class="decoration-none border-b-2 p-1 hover:border-accent/50 lowercase focus-visible:[outline-offset:-2px]!"
:class="page === 'main' ? 'border-accent text-accent!' : 'border-transparent'"
>
{{ $t('package.links.main') }}
Expand All @@ -404,7 +404,7 @@ const likeAction = async () => {
v-if="docsLink"
:to="docsLink"
aria-keyshortcuts="d"
class="decoration-none border-b-2 p-1 hover:border-accent/50"
class="decoration-none border-b-2 p-1 hover:border-accent/50 focus-visible:[outline-offset:-2px]!"
:class="page === 'docs' ? 'border-accent text-accent!' : 'border-transparent'"
>
{{ $t('package.links.docs') }}
Expand All @@ -413,7 +413,7 @@ const likeAction = async () => {
v-if="codeLink"
:to="codeLink"
aria-keyshortcuts="."
class="decoration-none border-b-2 p-1 hover:border-accent/50"
class="decoration-none border-b-2 p-1 hover:border-accent/50 focus-visible:[outline-offset:-2px]!"
:class="page === 'code' ? 'border-accent text-accent!' : 'border-transparent'"
>
{{ $t('package.links.code') }}
Expand All @@ -423,7 +423,7 @@ const likeAction = async () => {
:to="diffLink"
:title="$t('compare.compare_versions_title')"
aria-keyshortcuts="f"
class="decoration-none border-b-2 p-1 hover:border-accent/50"
class="decoration-none border-b-2 p-1 hover:border-accent/50 focus-visible:[outline-offset:-2px]!"
:class="page === 'diff' ? 'border-accent text-accent!' : 'border-transparent'"
>
{{ $t('compare.compare_versions') }}
Expand Down
Loading