Browse Source

add some style to the widget

pull/1/head
Fabio Comuni 12 years ago
parent
commit
7b59ea7b13
  1. 4
      addon/widgets/widgets.php

4
addon/widgets/widgets.php

@ -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>";

Loading…
Cancel
Save