Skip to content

Commit bbc918d

Browse files
committed
fix: tooltip covering buttons
1 parent e3ad052 commit bbc918d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/components/listing-parts/virtualization.astro

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,13 @@ const totalLinks = links.length
5151
<div class="md:relative">
5252
<button class="h-5 text-xs bg-white-2 flex justify-center items-center outline-0 neumorphic-shadow rounded-full px-2">?</button>
5353
<div
54-
class="text-sm bg-black/60 backdrop-blur-lg w-screen md:max-w-xs opacity-0 group-hover:opacity-100 transition-opacity absolute left-1/2 right-1/2 md:-translate-x-1/2 bottom-0 md:bottom-10 z-10 p-6 -mx-1/2-screen md:mx-0"
54+
class={[
55+
'text-sm bg-black/60 backdrop-blur-lg',
56+
'opacity-0 transition-opacity group-hover:opacity-100 pointer-events-none',
57+
'absolute left-1/2 right-1/2 md:-translate-x-1/2 bottom-0 md:bottom-10 z-10',
58+
'w-screen',
59+
'md:max-w-xs p-6 -mx-1/2-screen md:mx-0'
60+
].join(' ')}
5561
>With Virtualization you can run apps on Apple Silicon Macs even if they are normally completely unsupported, such as Windows-only Apps, at the cost of some performance drop vs Native support. </div>
5662
</div>
5763
</div>

0 commit comments

Comments
 (0)