Skip to content

Commit

Permalink
Events: Make sure the search only extends on the homepage now that we…
Browse files Browse the repository at this point in the history
… have the query-total.

See: #1166
  • Loading branch information
StevenDufresne committed Dec 11, 2023
1 parent eeb2059 commit 5ce4b04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

?>

<!-- wp:group {"align":"wide","className":"wporg-events__filters","style":{"spacing":{"margin":{"top":"40px","bottom":"40px"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide wporg-events__filters" style="margin-top:40px;margin-bottom:40px">
<!-- wp:group {"align":"wide","className":"wporg-events__filters wporg-events__filters__no-count","style":{"spacing":{"margin":{"top":"40px","bottom":"40px"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide wporg-events__filters wporg-events__filters__no-count" style="margin-top:40px;margin-bottom:40px">
<!-- wp:group {"className":"wporg-events__filters__search","layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group wporg-events__filters__search">
<!-- wp:search {"showLabel":false,"placeholder":"Search events...","width":100,"widthUnit":"%","buttonText":"Search","buttonPosition":"button-inside","buttonUseIcon":true,"className":"is-style-secondary-search-control"} /-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ body .is-layout-flex.page-upcoming-title-past-wrapper {
align-items: baseline;
}

.wporg-events__filters__search {
.wporg-events__filters__no-count .wporg-events__filters__search {
flex: 1;

form {
Expand Down

0 comments on commit 5ce4b04

Please sign in to comment.