mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-13 22:05:44 +03:00
Reverse image size
This commit is contained in:
parent
cf4c3db626
commit
3c1113c750
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue