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/blocks/FeedBlock.php | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/inc/blocks/FeedBlock.php b/inc/blocks/FeedBlock.php
index fba0d1c..c6b1f0b 100644
--- a/inc/blocks/FeedBlock.php
+++ b/inc/blocks/FeedBlock.php
@@ -193,8 +193,8 @@
<?php if ($hasMany) {
//If we have multiple content, only show the content first
?>
- <details class="col a-start">
- <summary class="row btw">
+ <details class="col left">
+ <summary class="row x-btw">
<span class="label">SHOWING: </span>
<?php
$labels = [];
@@ -249,7 +249,7 @@
if (!empty ($this->config['taxonomies'])) {
?>
<div class="filters">
- <div class="filter-group row start">
+ <div class="filter-group row left">
<span class="label">FILTER BY:</span>
<?php
@@ -288,8 +288,8 @@
</div>
</div>
<?php } ?>
- <div class="row btw nowrap">
- <div class="order-by filter-group row start w-full">
+ <div class="row x-btw nowrap">
+ <div class="order-by filter-group row left w-full">
<span class="label">ORDER BY:</span>
<?php
//TODO: Get content types that can be sorted alphabetically
@@ -340,7 +340,7 @@
</div>
- <div class="order-direction filter-group row start w-full" data-for-order="date,modified,title<?= $custom === '' ? '' : ','.$custom?>">
+ <div class="order-direction filter-group row left w-full" data-for-order="date,modified,title<?= $custom === '' ? '' : ','.$custom?>">
<span class="label">ORDER:</span>
<input type="radio" id="order-desc" class="btn" name="order" value="desc" data-filter="order" checked>
<label for="order-desc" title="Sort Descending (A-Z, 1-10)" class="row">
--
Gitblit v1.10.0