diff options
| author | eltrac <hi@eltr.ac> | 2026-03-14 23:27:44 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-03-14 23:28:30 +0800 |
| commit | 0a36e7333771482b00359ea964542133db51f2d6 (patch) | |
| tree | 1923db6cbaccae293e9530e55738b756c6772bc6 | |
| parent | 5c51f3272e17567acd7c0fb1da3042d620e768a9 (diff) | |
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.
| -rw-r--r-- | layouts/_partials/scripts.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 *)", }); }); |
