« get me outta code hell

content, css: generateContentEntryDate: relative date - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-03-26 17:36:39 -0300
committer(quasar) nebula <qznebula@protonmail.com>2026-03-26 17:36:39 -0300
commitf1c8bbf0f95a7f9ef52e041628e79a875b55aae4 (patch)
treee3a8d8ee6479fcaa3282ecc276738f230ecb84d1 /src/static/js
parent01bd5cec3a83e9ced7715954e76dd820aa7e91dd (diff)
content, css: generateContentEntryDate: relative date
Diffstat (limited to 'src/static/js')
-rw-r--r--src/static/js/client/hoverable-tooltip.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/static/js/client/hoverable-tooltip.js b/src/static/js/client/hoverable-tooltip.js
index 22b9471c..cdf37ee1 100644
--- a/src/static/js/client/hoverable-tooltip.js
+++ b/src/static/js/client/hoverable-tooltip.js
@@ -714,6 +714,8 @@ export function positionTooltip(tooltip, x, y) {
   cssProp(tooltip, {
     left: `${x - tooltipRect.x}px`,
     top: `${y - tooltipRect.y}px`,
+    right: 'unset',
+    bottom: 'unset',
   });
 }
 
@@ -721,6 +723,8 @@ export function resetDynamicTooltipPositioning(tooltip) {
   cssProp(tooltip, {
     left: null,
     top: null,
+    right: null,
+    bottom: null,
   });
 }