1
0
Fork 0

add some style to the widget

This commit is contained in:
Fabio Comuni 2011-03-23 15:32:18 +01:00
parent 0f7008a02e
commit 7b59ea7b13

View file

@ -160,6 +160,10 @@ function widget_friends_content(&$a, &$o, $conf){
if(!count($r)) return;
$a->profile = $r[0];
$o .= "<style>
.f9k_widget .contact-block-div { display: block !important; float: left!important; width: 50px!important; height: 50px!important; margin: 2px!important;}
.f9k_widget #contact-block-end { clear: left; }
</style>";
$o .= _abs_url(contact_block());
$o .= "<a href='".$a->get_baseurl().'/profile/'.$a->profile['nickname']."'>". t('Connect on Friendika!') ."</a>";