From 24ed267dbb45f8fada1bfc737fad3f060b2cdb9b Mon Sep 17 00:00:00 2001 From: Tosin Oguntuyi Date: Fri, 8 Nov 2024 17:21:48 +0100 Subject: [PATCH] Use block style for edit link --- .../blocks/pages/events/event-details/render.php | 8 ++++---- themes/wporg-translate-events-2024/style.css | 6 +----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/themes/wporg-translate-events-2024/blocks/pages/events/event-details/render.php b/themes/wporg-translate-events-2024/blocks/pages/events/event-details/render.php index e522f126..63500807 100644 --- a/themes/wporg-translate-events-2024/blocks/pages/events/event-details/render.php +++ b/themes/wporg-translate-events-2024/blocks/pages/events/event-details/render.php @@ -22,9 +22,9 @@ /--> id() ) ) : ?> - - - +
+ +
is_past() ) : ?> -
+

diff --git a/themes/wporg-translate-events-2024/style.css b/themes/wporg-translate-events-2024/style.css index 6c9cf231..55e36472 100644 --- a/themes/wporg-translate-events-2024/style.css +++ b/themes/wporg-translate-events-2024/style.css @@ -166,11 +166,7 @@ select.wp-block-form-input__input { display: inline-block; } -a.details-edit-event span.dashicons-edit { - vertical-align: text-bottom; -} - -a.details-edit-event { +div.details-edit-event { float: right; text-decoration: none; }