From 75a097a018a0090f5902758353c578fce4aa2a25 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 23 May 2026 18:43:42 +0000
Subject: [PATCH] =CustomBlocks.php overhaul relatively complete. Also refactored the gallery in gallery.min.js and the jvbRenderGallery.
---
inc/helpers/media.php | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/inc/helpers/media.php b/inc/helpers/media.php
index 80c33c7..9c30bab 100644
--- a/inc/helpers/media.php
+++ b/inc/helpers/media.php
@@ -9,14 +9,15 @@
?>
<dialog class="gallery" aria-modal="true" aria-label="Image Gallery">
- <div class="wrap">
+ <div class="wrap col">
+ <p class="hint">Pinch to Zoom</p>
<div class="controls row">
- <button type="button" class="cancel" aria-label="Close Gallery"> <?= jvbIcon('x') ?></button>
- <button class="nav prev row" aria-label="Previous image">
+ <button type="button" class="cancel" title="Close Gallery" aria-label="Close Gallery"> <?= jvbIcon('x') ?></button>
+ <button class="nav prev" title="Previous image" aria-label="Previous image">
<?= jvbIcon('caret-left') ?>
</button>
- <button class="nav next row" aria-label="Next image">
+ <button class="nav next" title="Next Image" aria-label="Next image">
<?= jvbIcon('caret-right') ?>
</button>
</div>
@@ -25,7 +26,7 @@
<img src="" alt="" class="image">
<img src="" alt="" class="image-right">
<details>
- <summary class="row btw">DETAILS</summary>
+ <summary class="row x-btw">DETAILS</summary>
<div class="item-info"></div>
</details>
</div>
--
Gitblit v1.10.0