mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-18 17:33:43 +03:00
Reverse image size
This commit is contained in:
parent
cf4c3db626
commit
3c1113c750
|
@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue