moved contact group header out of scrolling div so it doens't vanish whenlot

more css tweaks
This commit is contained in:
Devlon Duthie 2011-09-25 14:08:08 -05:00
parent 3426ce5f94
commit bbaec4cb78
2 changed files with 5 additions and 3 deletions

View File

@ -176,8 +176,8 @@ function group_content(&$a) {
if($change) if($change)
$o = ''; $o = '';
$o .= '<div id="group-members">';
$o .= '<h3>' . t('Members') . '</h3>'; $o .= '<h3>' . t('Members') . '</h3>';
$o .= '<div id="group-members">';
$textmode = (($switchtotext && (count($members) > $switchtotext)) ? true : false); $textmode = (($switchtotext && (count($members) > $switchtotext)) ? true : false);
foreach($members as $member) { foreach($members as $member) {
if($member['url']) { if($member['url']) {
@ -190,9 +190,10 @@ function group_content(&$a) {
$o .= '</div><div id="group-members-end"></div>'; $o .= '</div><div id="group-members-end"></div>';
$o .= '<hr id="group-separator" />'; $o .= '<hr id="group-separator" />';
$o .= '<div id="group-all-contacts">';
$o .= '<h3>' . t('All Contacts') . '</h3>'; $o .= '<h3>' . t('All Contacts') . '</h3>';
$o .= '<div id="group-all-contacts">';
$r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `blocked` = 0 and `pending` = 0 and `self` = 0 ORDER BY `name` ASC", $r = q("SELECT * FROM `contact` WHERE `uid` = %d AND `blocked` = 0 and `pending` = 0 and `self` = 0 ORDER BY `name` ASC",
intval(local_user()) intval(local_user())
); );

View File

@ -722,7 +722,8 @@ ul .sidebar-group-li img{
} }
#character-counter { #character-counter {
float: left; padding: 8px 10px; /*float: left; padding: 8px 10px;*/
position: absolute: right: 100px; top:100px;
} }
#profile-rotator-wrapper { #profile-rotator-wrapper {
float: right; float: right;