diff --git a/mod/photos.php b/mod/photos.php
index 298bc9907b..8f33ac067d 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -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']) : '');
$dislike = ((isset($dlike[$i1[0]['id']])) ? format_like($dlike[$i1[0]['id']],$dlike[$i1[0]['id'] . '-l'],'dislike',$i1[0]['id']) : '');
+ $o .= '
';
$o .= $likebuttons;
$o .= $like;
$o .= $dislike;
+ $o .= '
';
+
foreach($r as $item) {
$comment = '';
diff --git a/view/theme/default/style.css b/view/theme/default/style.css
index d9d34d4091..f89b4877b5 100644
--- a/view/theme/default/style.css
+++ b/view/theme/default/style.css
@@ -1684,6 +1684,12 @@ a.mail-list-link:hover {
float: left;
margin-bottom: 25px;
}
+#photo-edit-link-wrap {
+ margin-bottom: 15px;
+}
+#photo-like-div {
+ margin-bottom: 25px;
+}
#photo-edit-caption-end, #photo-edit-tags-end {
clear: both;