Skip to content

Commit 144f0b9

Browse files
committed
fix(tooltip): incorrect z-index
1 parent ebcfc01 commit 144f0b9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/Package/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ useShortcuts({
235235
</header>
236236
<div
237237
ref="header"
238-
class="w-full bg-bg sticky top-14 z-10 border-b border-border pt-2"
238+
class="w-full bg-bg sticky top-14 z-50 border-b border-border pt-2"
239239
:class="[$style.packageHeader]"
240240
data-testid="package-subheader"
241241
>

app/components/Tooltip/Base.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const { floatingStyles } = useFloating(triggerRef, tooltipRef, {
5858
<div
5959
v-if="props.isVisible"
6060
ref="tooltipRef"
61-
class="px-2 py-1 font-mono text-xs text-fg bg-bg-elevated border border-border rounded shadow-lg whitespace-pre-line break-words max-w-xs z-[100]"
61+
class="px-2 py-1 font-mono text-xs text-fg bg-bg-elevated border border-border rounded shadow-lg whitespace-pre-line break-words max-w-xs z-[50]"
6262
:class="{ 'pointer-events-none': !interactive }"
6363
:style="floatingStyles"
6464
v-bind="tooltipAttr"

0 commit comments

Comments
 (0)