aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/css.php23
-rw-r--r--views/default/search/gallery.php2
2 files changed, 15 insertions, 10 deletions
diff --git a/views/default/css.php b/views/default/css.php
index a596d1935..66561ff28 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -1100,11 +1100,22 @@ background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_priv
line-height:1.2em;
}
+table.search_gallery {
+ border-spacing: 5px;
+ margin:0 0 20px 0;
+}
+.search_gallery td {
+ padding: 5px;
+}
+
.search_gallery_item {
border:1px dotted silver;
background-color: white;
- width: 210px;
- height: 200px;
+ width: 179px;
+ height: 179px;
+}
+.search_gallery_item:hover {
+ border:1px dotted black;
}
.search_gallery_item .search_listing {
@@ -1130,13 +1141,7 @@ background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_priv
margin-bottom: 10px;
}
-.search_gallery_item td {
- border:1px dotted silver;
- background-color: white;
- width: 210px;
- height: 200px;
- margin: 5px;
-}
+
.search_gallery_item .search_listing {
diff --git a/views/default/search/gallery.php b/views/default/search/gallery.php
index 245971e95..9f3a34014 100644
--- a/views/default/search/gallery.php
+++ b/views/default/search/gallery.php
@@ -31,7 +31,7 @@
echo elgg_view_entity($entity);
echo "</td>";
$col++;
- if ($col > 2) {
+ if ($col > 3) {
echo "</tr>";
$col = 0;
}