From 46d681c6b825d21b3f698d793c4e630c687d90ad Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 21 May 2026 21:41:53 +0000
Subject: [PATCH] =Major CustomBlocks.php overhaul, expanding block support and customization from the editor. theme.json should now be updated on new themes to set brand colours, etc. Also note: major change to .col vs .row alignment: simplifying it to .top .bottom vs the confusion of the differences for .col/.row .start and .a-start
---
inc/helpers/media.php | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/inc/helpers/media.php b/inc/helpers/media.php
index 11ec253..6381b82 100644
--- a/inc/helpers/media.php
+++ b/inc/helpers/media.php
@@ -8,20 +8,24 @@
{
?>
<dialog class="gallery" aria-modal="true" aria-label="Image Gallery">
- <div class="wrap">
- <button type="button" class="cancel" aria-label="Close Gallery"> <?= jvbIcon('x') ?></button>
- <button class="nav prev row" aria-label="Previous image">
- <?= jvbIcon('caret-left') ?>
- </button>
- <button class="nav next row" aria-label="Next image">
- <?= jvbIcon('caret-right') ?>
- </button>
+ <div class="wrap col">
+ <div class="controls row">
+ <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" title="Next Image" aria-label="Next image">
+ <?= jvbIcon('caret-right') ?>
+ </button>
+ </div>
<div class="content row">
+ <img src="" alt="" class="image-left">
<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>
@@ -32,3 +36,4 @@
</dialog>
<?php
}
+
--
Gitblit v1.10.0