General Docs Improvements (#542)

This commit is contained in:
Brandon Hopkins
2026-01-12 14:01:42 -08:00
committed by GitHub
parent becf4bd6e4
commit 1bc91042c0
12 changed files with 153 additions and 150 deletions

View File

@@ -20,8 +20,10 @@ export function ImageZoom() {
target.tagName === 'IMG' &&
(target.classList.contains('imagewrapper') ||
target.classList.contains('imagewrapper-big') ||
target.classList.contains('imagewrapper-medium') ||
target.closest('.imagewrapper') ||
target.closest('.imagewrapper-big'))
target.closest('.imagewrapper-big') ||
target.closest('.imagewrapper-medium'))
) {
e.preventDefault()
setZoomedImage(target.src)