summaryrefslogtreecommitdiff
path: root/internal
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <montferrat@tuta.io> 2025-08-18 17:21:32 +0700
committerGravatar SayaAndy <montferrat@tuta.io> 2025-08-18 17:21:32 +0700
commit1a0abbb6439690fb9167dce5ecb800dc5c41e130 (patch)
tree52dee20ea40fb3844e2094084c780d2e0f048026 /internal
parentf089ba2435eb4a54ab4e6b2c20d91d0c9f872a2d (diff)
downloadweb-1a0abbb6439690fb9167dce5ecb800dc5c41e130.tar.gz
web-1a0abbb6439690fb9167dce5ecb800dc5c41e130.zip
fix: set thumb width to 10vmin to fix thumb align and shift
Diffstat (limited to 'internal')
-rw-r--r--internal/lightgallery/html_renderer.go2
1 files changed, 1 insertions, 1 deletions
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
});