added rounded borders on the avatar

master
Jessica Yu 2012-09-06 21:01:04 -07:00
parent d3e9c29e16
commit 8109b52337
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ handle remainder => sub {
return $_ . '\'s unicorn:',
html => $_ . '\'s unicorn <a href="'.$link.'">(Learn more at unicornify.appspot.com)</a>:'
.'<br /><a href="' . unicornify_url(email => $_, size => 128) .'">'
.'<img src="'.unicornify_url(email => $_, size => "100").'" style="margin: auto;" /></a>';
.'<img src="'.unicornify_url(email => $_, size => "100").'" style="margin: auto; border-radius: 8px;" /></a>';
}
return;
};

View File

@ -17,6 +17,6 @@ ddg_goodie_test(
test_zci('bob@bob.com\'s unicorn:',
html => 'bob@bob.com\'s unicorn <a href="http://unicornify.appspot.com/">(Learn more at unicornify.appspot.com)</a>:<br />'
.'<a href="'.unicornify_url(email => 'bob@bob.com', size => 128).'">'
.'<img src="'.unicornify_url(email=>'bob@bob.com', size => 100).'" style="margin: auto;" /></a>'));
.'<img src="'.unicornify_url(email=>'bob@bob.com', size => 100).'" style="margin: auto; border-radius: 8px;" /></a>'));
done_testing;