A self-hosted dashboard that puts all your feeds in one place
Go aggregatordashboarddockerfeed-readergohomelabhomepagemonitoringredditrssrss-readerself-hostedstartpageyoutube
Fix off by 1px popover triangle
Svilen Markov0c369257831f
diff --git a/internal/glance/static/js/popover.js b/internal/glance/static/js/popover.jsindex 533feed..26d1850 100644--- a/internal/glance/static/js/popover.js+++ b/internal/glance/static/js/popover.js@@ -123,11 +123,11 @@ function repositionContainer() {} else if (left + containerBounds.width > window.innerWidth) {containerElement.style.removeProperty("left");containerElement.style.right = 0;- containerElement.style.setProperty("--triangle-offset", containerBounds.width - containerInlinePadding - (window.innerWidth - targetBounds.left - targetBoundsWidthOffset) + "px");+ containerElement.style.setProperty("--triangle-offset", containerBounds.width - containerInlinePadding - (window.innerWidth - targetBounds.left - targetBoundsWidthOffset) + -1 + "px");} else {containerElement.style.removeProperty("right");containerElement.style.left = left + "px";- containerElement.style.setProperty("--triangle-offset", ((targetBounds.left + targetBoundsWidthOffset) - left - containerInlinePadding) + "px");+ containerElement.style.setProperty("--triangle-offset", ((targetBounds.left + targetBoundsWidthOffset) - left - containerInlinePadding) + -1 + "px");}const distanceFromTarget = activeTarget.dataset.popoverMargin || defaultDistanceFromTarget;