diff options
| author | Fuwn <[email protected]> | 2024-02-04 01:58:13 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-02-04 01:58:19 -0800 |
| commit | c375e25c88ccd6a4373c7a907a367778d9dbabc1 (patch) | |
| tree | 3b6e12431042773c10c4087e9913f360029b2b1a /src/lib/Tooltip | |
| parent | feat(reader): better errors (diff) | |
| download | due.moe-c375e25c88ccd6a4373c7a907a367778d9dbabc1.tar.xz due.moe-c375e25c88ccd6a4373c7a907a367778d9dbabc1.zip | |
fix(css): use sane z-index values
Diffstat (limited to 'src/lib/Tooltip')
| -rw-r--r-- | src/lib/Tooltip/tooltip.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Tooltip/tooltip.ts b/src/lib/Tooltip/tooltip.ts index f9716386..8f1d9988 100644 --- a/src/lib/Tooltip/tooltip.ts +++ b/src/lib/Tooltip/tooltip.ts @@ -19,6 +19,7 @@ const tooltip = (element: HTMLElement) => { tooltipDiv.style.transition = `opacity ${tooltipTransitionTime}ms ease-in-out, top 0.3s ease, left 0.3s ease`; tooltipDiv.style.pointerEvents = 'none'; tooltipDiv.style.whiteSpace = 'nowrap'; + tooltipDiv.style.zIndex = '1000'; tooltipDiv.classList.add('card'); tooltipDiv.classList.add('card-small'); |