summaryrefslogtreecommitdiff
path: root/internal
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2026-04-05 04:57:27 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2026-04-05 04:57:27 +0700
commit81a9147c5406e3b2f2441373b935d7c5de2780da (patch)
tree27cb0e59822856274af00e19846782f74f9c778c /internal
parentad6528e1ba16ac9857dff879276834b1b5161382 (diff)
downloadweb-81a9147c5406e3b2f2441373b935d7c5de2780da.tar.gz
web-81a9147c5406e3b2f2441373b935d7c5de2780da.zip
feat: use accent colors for glightbox tooltip
Diffstat (limited to 'internal')
-rw-r--r--internal/glightbox/html_renderer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/glightbox/html_renderer.go b/internal/glightbox/html_renderer.go
index ac34880..f71a8f2 100644
--- a/internal/glightbox/html_renderer.go
+++ b/internal/glightbox/html_renderer.go
@@ -135,12 +135,12 @@ func (r *GLightboxHTMLRenderer) renderGLightbox(w util.BufWriter, source []byte,
w.WriteString(strings.ReplaceAll(`
<div class="items-center flex flex-col">
- <hr class="border-t-3 border-dotted border-main-hard mt-1 mb-2 w-[80%%] ml-auto mr-auto">
+ <hr class="border-t-3 border-dotted border-main-hard mt-1 mb-2 w-[80%] ml-auto mr-auto">
<div class="grid masonry-grid-{id}">
<div class="grid-sizer grid-sizer-{id}"></div>
`+strings.Join(elements, "\n")+`
</div>
- <hr class="border-t-3 border-dotted border-main-hard mt-1 mb-2 w-[80%%] ml-auto mr-auto">
+ <hr class="border-t-3 border-dotted border-main-hard mt-1 mb-2 w-[80%] ml-auto mr-auto">
</div>
<script>