aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-03-23 15:32:18 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-05-13 09:04:42 +0200
commit7b59ea7b130f959460680e817f05bdf47764c96a (patch)
tree60cd5b79d239365f46bb9a2f02af224fda286979
parent0f7008a02e84515e83c4399fe5736ed8d2dc8796 (diff)
downloadvolse-hubzilla-7b59ea7b130f959460680e817f05bdf47764c96a.tar.gz
volse-hubzilla-7b59ea7b130f959460680e817f05bdf47764c96a.tar.bz2
volse-hubzilla-7b59ea7b130f959460680e817f05bdf47764c96a.zip
add some style to the widget
-rw-r--r--addon/widgets/widgets.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/addon/widgets/widgets.php b/addon/widgets/widgets.php
index 98567753d..7c75c6667 100644
--- a/addon/widgets/widgets.php
+++ b/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>";