From 0a36e7333771482b00359ea964542133db51f2d6 Mon Sep 17 00:00:00 2001 From: eltrac Date: Sat, 14 Mar 2026 23:27:44 +0800 Subject: fix: libra.js shifts vertically apparently offset on y axis is smaller now? honestly i don't understand why they weren't 0,0 to start with. there must be some layout shifts i don't understand yet. gotta figure that out someday. --- layouts/_partials/scripts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_partials/scripts.html') diff --git a/layouts/_partials/scripts.html b/layouts/_partials/scripts.html index 158ac812..5d782dd7 100644 --- a/layouts/_partials/scripts.html +++ b/layouts/_partials/scripts.html @@ -31,7 +31,7 @@ document.addEventListener("DOMContentLoaded", () => { document.addEventListener('DOMContentLoaded', async () => { const { default: LightBox } = await import('/js/libra.min.js'); const lightbox = new LightBox({ - offset: { x: -8, y: -80 }, + offset: { x: -8, y: -48 }, selector: "[data-libra]:not(.disable-libra *)", }); }); -- cgit v1.2.3