File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
themes/wporg-translate-events-2024
blocks/pages/events/event-details Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 2222/-->
2323
2424<?php if ( current_user_can ( 'edit_translation_event ' , $ event ->id () ) ) : ?>
25- <a class="details-edit-event" href=" <?php echo esc_url ( Urls:: event_edit ( $ event -> id () ) ); ?> ">
26- <span class="dashicons dashicons-edit"></span> <?php echo esc_html__ ( 'Edit Event ' , 'wporg-translate-events-2024 ' ); ?>
27- </a >
25+ <div class="wp-block-button is-style-outline is-style-outline--13 details-edit-event ">
26+ <a class="wp-block-button__link wp-element-button" href=" <?php echo esc_url ( Urls:: event_edit ( $ event -> id () ) ); ?> "> <?php echo esc_html__ ( 'Edit Event ' , 'wporg-translate-events-2024 ' ); ?> </a >
27+ </div >
2828<?php endif ; ?>
2929
3030<?php
3131if ( is_user_logged_in () ) :
3232 if ( $ event ->is_past () ) :
3333 ?>
3434 <!-- wp:wporg/notice {"type":"alert", "style":{"spacing":{"margin":{"top":"var:preset|spacing|20"}}}} -->
35- <div class="wp-block-wporg-notice is-alert-notice" style="margin-top:var(--wp--preset--spacing--20 )">
35+ <div class="wp-block-wporg-notice is-alert-notice" style="margin-top:var(--wp--preset--spacing--40 )">
3636 <div class="wp-block-wporg-notice__icon"></div>
3737 <div class="wp-block-wporg-notice__content">
3838 <p>
Original file line number Diff line number Diff line change @@ -212,11 +212,7 @@ span.user-remote-icon.dashicons-video-alt2 {
212212 display : inline-block;
213213}
214214
215- a .details-edit-event span .dashicons-edit {
216- vertical-align : text-bottom;
217- }
218-
219- a .details-edit-event {
215+ div .details-edit-event {
220216 float : right;
221217 text-decoration : none;
222218}
You can’t perform that action at this time.
0 commit comments