Reverse image size

This commit is contained in:
Paul Kevan 2024-09-26 15:12:02 +01:00 committed by GitHub
parent cf4c3db626
commit 3c1113c750
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,12 +17,12 @@ $is_truncated = isset( $attributes['className'] ) && str_contains( $attributes['
$count_more = 0;
// Set avatar size at smallest usage in px.
$avatar_size = 30;
$avatar_size = 70;
if ( $is_truncated ) {
$count_more = count( $contributors ) - TRUNCATED_MAX;
$contributors = array_splice( $contributors, 0, TRUNCATED_MAX );
$avatar_size = 70;
$avatar_size = 30;
}
?>