Skip to content
Browse files

Scaled down gravatar image in menu

  • Loading branch information...
1 parent f2ef04e commit f65e2fa8c630e5419375853043ef036cc465bcf0 @jaytaph committed Jul 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/BoxConfig/DefaultBundle/Menu/Builder.php
View
2 src/BoxConfig/DefaultBundle/Menu/Builder.php
@@ -35,7 +35,7 @@ public function mainMenu(FactoryInterface $factory, array $options)
//$menu->addChild('c')->setLabel($user->getFullname());
$gravatar = $this->container->get('gravatar.api');
- $menu->addChild($user->getFullName()." <img src='".$gravatar->getUrl($user->getEmail(), 25)."'>")->setAttribute('raw', true);
+ $menu->addChild($user->getFullName()." <img src='".$gravatar->getUrl($user->getEmail(), 20)."'>")->setAttribute('raw', true);
// <p class="navbar-text">{{ app.user.fullname }} <img src="{{ gravatar(app.user.email, 25) }}"></p>
// <li><p class="navbar-text">{{ app.user.fullname }} <img src="{{ gravatar(app.user.email, 25) }}"></p></li>

0 comments on commit f65e2fa

Please sign in to comment.
Something went wrong with that request. Please try again.