fix: larger sidebar tooltips (text-sm, more padding)

This commit is contained in:
Usman Baig
2026-03-28 22:56:57 +01:00
parent ef1cb32c51
commit 20d7bdd482

View File

@@ -109,7 +109,7 @@ function SidebarTooltip({ children, label }: { children: React.ReactNode; label:
{children}
{show && typeof document !== 'undefined' && createPortal(
<span
className="fixed z-[100] px-2.5 py-1.5 rounded-lg bg-neutral-950 border border-neutral-800/60 text-white text-xs font-medium whitespace-nowrap pointer-events-none shadow-lg shadow-black/20 -translate-y-1/2"
className="fixed z-[100] px-3 py-2 rounded-lg bg-neutral-950 border border-neutral-800/60 text-white text-sm font-medium whitespace-nowrap pointer-events-none shadow-lg shadow-black/20 -translate-y-1/2"
style={{ left: pos.x, top: pos.y }}
>
{label}