From 901c9e7c44a792cbd9effb64ef9a7f97c6f48cea Mon Sep 17 00:00:00 2001 From: Mats Mikkel Rummelhoff Date: Fri, 31 May 2024 11:45:16 +0200 Subject: [PATCH] Fix misalignment issue with New Child links. Bump to 2.2.1 --- CHANGELOG.md | 4 ++++ composer.json | 2 +- src/templates/childme-button.twig | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d2f022..40f3297 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 2.2.1 - 2024-05-31 +### Fixed +- Fixed a misalignment issue with "New child" buttons in element index columns + ## 2.2.0 - 2024-05-18 ### Changed - Setting the `EVENT_DEFINE_ENTRY_TYPES::$entryTypes` attribute to an empty array now results in the "New child" button not being rendered, instead of defaulting to the current entry's entry type. diff --git a/composer.json b/composer.json index e57e2cd..8ecccbc 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "mmikkel/child-me", "description": "Easily create child elements", "type": "craft-plugin", - "version": "2.2.0", + "version": "2.2.1", "keywords": [ "craft", "cms", diff --git a/src/templates/childme-button.twig b/src/templates/childme-button.twig index ca68df6..2c3170f 100644 --- a/src/templates/childme-button.twig +++ b/src/templates/childme-button.twig @@ -5,7 +5,7 @@ {% if links and element %} {% if links|length == 1 %}