diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-03-31 18:04:51 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-04-10 16:02:37 -0300 |
commit | f231fdc12e6802471b23faaac05cba7604fe96a3 (patch) | |
tree | 14c23b254a5b9df10ee1ff2991229ad9a0a57ab9 /src | |
parent | 1c74003d9354ac745f694e53edfe307bf9d83595 (diff) |
client: hoverable-tooltip: more z-index bullshit
Diffstat (limited to 'src')
-rw-r--r-- | src/static/js/client/hoverable-tooltip.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/static/js/client/hoverable-tooltip.js b/src/static/js/client/hoverable-tooltip.js index 395bb51a..6eb706ef 100644 --- a/src/static/js/client/hoverable-tooltip.js +++ b/src/static/js/client/hoverable-tooltip.js @@ -1006,6 +1006,14 @@ export function getTooltipBaselineOpportunityAreas(tooltip) { return results; } +export function mutatePageContent() { + for (const isolatorRoot of document.querySelectorAll('.isolate-tooltip-z-indexing')) { + if (isolatorRoot.firstElementChild) { + cssProp(isolatorRoot.firstElementChild, 'z-index', '1'); + } + } +} + export function addPageListeners() { const {state} = info; |