From 61c2f43cb204a54b988f9b08969e091dcc70f548 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 205dfe4d..c30b9a6a 100644 --- a/themes/wporg-translate-events-2024/style.css +++ b/themes/wporg-translate-events-2024/style.css @@ -212,11 +212,7 @@ span.user-remote-icon.dashicons-video-alt2 { 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; }