Skip to content

Commit

Permalink
Center next-events boxes again (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
albig authored Aug 2, 2024
1 parent 046fdc3 commit 924f4ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sass/_event.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ a.event-card {
background-image: url("assets/img/sunflower1.jpg");
background-size: cover;
background-position: top;

flex-direction: column;
}

#leaflet {
Expand Down
2 changes: 1 addition & 1 deletion src/next-events/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}

$sunflower_return = sprintf(
' <div class="wp-block-group alignfull sunflower-has-background-dim has-text-color has-white-color has-background is-vertical is-content-justification-center is-content-justification-center is-layout-flex wp-container-core-group-is-layout-4 wp-block-group-is-layout-flex next-events %s">
' <div class="wp-block-group alignfull sunflower-has-background-dim has-text-color has-white-color has-background is-vertical is-content-justification-center is-content-justification-center is-layout-flex wp-block-group-is-layout-flex next-events %s">
<div class="wp-block-group__inner-container">
<h2 class="wp-block-heading has-text-align-center h1">%s</h2>
<div class="wp-block-button text-center mb-5"><a class="wp-block-button__link no-border-radius" href="%s" rel="">%s</a></div>
Expand Down

0 comments on commit 924f4ee

Please sign in to comment.