Skip to content

Commit

Permalink
Align baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
trymebytes committed Nov 22, 2024
1 parent 137c979 commit 4ee79d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</div>
<?php if ( current_user_can( 'edit_translation_event', $event->id() ) ) : ?>
<div>
<div class="wp-block-buttons is-content-justification-end">
<div class="wp-block-buttons details-edit-event-btn">
<div class="wp-block-button is-style-outline">
<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' ); ?>
Expand Down
6 changes: 4 additions & 2 deletions themes/wporg-translate-events-2024/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,16 @@ span.user-remote-icon.dashicons-video-alt2 {
display: inline-block;
}

div.details-edit-event {
div.details-edit-event-btn {
float: right;
text-decoration: none;
}

.details-page-title {
grid-template-columns: 85% 15%;
align-items: center;
gap: 0;
align-items: baseline;

}
.details-page-title h2.wp-block-heading {
margin-bottom: 10px;
Expand Down

0 comments on commit 4ee79d1

Please sign in to comment.