aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/custom_index/index.php1
-rw-r--r--mod/groups/views/default/groups/sidebar/members.php1
-rw-r--r--views/default/css/elements/components.php5
3 files changed, 6 insertions, 1 deletions
diff --git a/mod/custom_index/index.php b/mod/custom_index/index.php
index 831114127..53990a006 100644
--- a/mod/custom_index/index.php
+++ b/mod/custom_index/index.php
@@ -36,6 +36,7 @@ $newest_members = elgg_list_entities_from_metadata(array(
'full_view' => false,
'pagination' => false,
'list_type' => 'gallery',
+ 'gallery_class' => 'elgg-gallery-users',
'size' => 'small',
));
diff --git a/mod/groups/views/default/groups/sidebar/members.php b/mod/groups/views/default/groups/sidebar/members.php
index 3026c05f2..7249ffbf4 100644
--- a/mod/groups/views/default/groups/sidebar/members.php
+++ b/mod/groups/views/default/groups/sidebar/members.php
@@ -22,6 +22,7 @@ $body = elgg_list_entities_from_relationship(array(
'types' => 'user',
'limit' => $limit,
'list_type' => 'gallery',
+ 'gallery_class' => 'elgg-gallery-users',
));
$body .= "<div class='center mts'>$all_link</div>";
diff --git a/views/default/css/elements/components.php b/views/default/css/elements/components.php
index 594694e60..3f30a6422 100644
--- a/views/default/css/elements/components.php
+++ b/views/default/css/elements/components.php
@@ -65,9 +65,12 @@
.elgg-gallery td {
padding: 5px;
}
-.elgg-gallery-fluid li {
+.elgg-gallery-fluid > li {
float: left;
}
+.elgg-gallery-users > li {
+ margin: 0 2px;
+}
/* ***************************************
Tables