feat: oh look, more changes

This commit is contained in:
Herculino Trotta
2025-11-10 00:28:16 -03:00
parent 7e37948616
commit b38ed37bc5
27 changed files with 636 additions and 624 deletions

View File

@@ -1,4 +1,4 @@
import tippy from 'tippy.js';
import { delegate } from 'tippy.js';
import 'tippy.js/dist/tippy.css';
import 'tippy.js/themes/light-border.css';
@@ -13,10 +13,15 @@ function initiateTooltips() {
theme = 'dark';
}
tippy('[data-tippy-content]', {
delegate(document.body, {
target: '[data-tippy-content]',
theme: theme,
zIndex: 1050,
zIndex: 1100,
content(reference) {
return reference.getAttribute('data-tippy-content');
},
});
}
window.initiateTooltips = initiateTooltips;
// Call it once on page load
initiateTooltips();