clean up photo edit layout

This commit is contained in:
Friendika 2010-11-03 17:20:46 -07:00
parent a985ad4a54
commit a90e5f438b
2 changed files with 9 additions and 0 deletions

View File

@ -852,9 +852,12 @@ function photos_content(&$a) {
$like = ((isset($alike[$i1[0]['id']])) ? format_like($alike[$i1[0]['id']],$alike[$i1[0]['id'] . '-l'],'like',$i1[0]['id']) : ''); $like = ((isset($alike[$i1[0]['id']])) ? format_like($alike[$i1[0]['id']],$alike[$i1[0]['id'] . '-l'],'like',$i1[0]['id']) : '');
$dislike = ((isset($dlike[$i1[0]['id']])) ? format_like($dlike[$i1[0]['id']],$dlike[$i1[0]['id'] . '-l'],'dislike',$i1[0]['id']) : ''); $dislike = ((isset($dlike[$i1[0]['id']])) ? format_like($dlike[$i1[0]['id']],$dlike[$i1[0]['id'] . '-l'],'dislike',$i1[0]['id']) : '');
$o .= '<div id="photo-like-div">';
$o .= $likebuttons; $o .= $likebuttons;
$o .= $like; $o .= $like;
$o .= $dislike; $o .= $dislike;
$o .= '</div>';
foreach($r as $item) { foreach($r as $item) {
$comment = ''; $comment = '';

View File

@ -1684,6 +1684,12 @@ a.mail-list-link:hover {
float: left; float: left;
margin-bottom: 25px; margin-bottom: 25px;
} }
#photo-edit-link-wrap {
margin-bottom: 15px;
}
#photo-like-div {
margin-bottom: 25px;
}
#photo-edit-caption-end, #photo-edit-tags-end { #photo-edit-caption-end, #photo-edit-tags-end {
clear: both; clear: both;