From 1a0abbb6439690fb9167dce5ecb800dc5c41e130 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Mon, 18 Aug 2025 17:21:32 +0700 Subject: fix: set thumb width to 10vmin to fix thumb align and shift --- internal/lightgallery/html_renderer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/lightgallery/html_renderer.go b/internal/lightgallery/html_renderer.go index 849759e..e20e9ec 100644 --- a/internal/lightgallery/html_renderer.go +++ b/internal/lightgallery/html_renderer.go @@ -106,7 +106,7 @@ function createLightGallery%s() { isMobile: () => false, slideDelay: 0, plugins: [lgZoom, lgThumbnail], - thumbWidth: 160, + thumbWidth: calculateVmin(10), thumbHeight: "10vmin", thumbMargin: 4 }); -- cgit v1.3.1+13