Skip to content

Commit

Permalink
Pledge list: Update aspect ratio for logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Sep 2, 2024
1 parent 0af6bbe commit d32920e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/wporg-5ftf-2024/patterns/archive-5ftf-pledge.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<div class="wp-block-group">
<!-- wp:group {"style":{"border":{"style":"solid","width":"1px","color":"#d9d9d9","radius":"2px"},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20","right":"var:preset|spacing|20"}}},"backgroundColor":"light-grey-2","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-border-color has-light-grey-2-background-color has-background" style="border-color:#d9d9d9;border-style:solid;border-width:1px;border-radius:2px;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
<!-- wp:post-featured-image {"aspectRatio":"1","width":"275px","scale":"contain"} /-->
<!-- wp:post-featured-image {"aspectRatio":"4/3","width":"275px","scale":"contain"} /-->
</div>
<!-- /wp:group -->

Expand Down
2 changes: 1 addition & 1 deletion themes/wporg-5ftf-2024/patterns/my-pledges.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="wp-block-group alignwide" style="margin-bottom:var(--wp--preset--spacing--40)">
<!-- wp:group {"style":{"border":{"radius":"50%"}},"backgroundColor":"light-grey-2","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-light-grey-2-background-color has-background" style="border-radius:50%">
<!-- wp:post-featured-image {"aspectRatio":"1","width":"110px","scale":"contain","style":{"border":{"radius":"50%"}}} /-->
<!-- wp:post-featured-image {"aspectRatio":"4/3","width":"110px","scale":"contain","style":{"border":{"radius":"50%"}}} /-->
</div>
<!-- /wp:group -->

Expand Down
2 changes: 1 addition & 1 deletion themes/wporg-5ftf-2024/src/my-pledge-list/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function render_single_pledge( $contributor_post, $has_profile_data ) {
<div class="wp-block-group my-pledges__pledge">
<!-- wp:group {"style":{"border":{"style":"solid","width":"1px","color":"#d9d9d9","radius":"2px"},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|20","right":"var:preset|spacing|20"}}},"backgroundColor":"light-grey-2","layout":{"type":"constrained"}} -->
<div class="wp-block-group has-border-color has-light-grey-2-background-color has-background" style="border-color:#d9d9d9;border-style:solid;border-width:1px;border-radius:2px;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--20)">
<!-- wp:post-featured-image {"aspectRatio":"1","width":"275px","scale":"contain"} /-->
<!-- wp:post-featured-image {"aspectRatio":"4/3","width":"275px","scale":"contain"} /-->
</div>
<!-- /wp:group -->

Expand Down

0 comments on commit d32920e

Please sign in to comment.