aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-05 18:10:55 +0000
committerCash Costello <cash.costello@gmail.com>2011-06-05 18:10:55 +0000
commit18ccaf511a13341c0985970ce4d532cdca1b9266 (patch)
treec0e58f3c026d3c606ac3cde6df8870a2d2eb27ec
parentfba844ea760259a3a317eb1454294bc6361e7b4a (diff)
downloadelgg-18ccaf511a13341c0985970ce4d532cdca1b9266.tar.gz
elgg-18ccaf511a13341c0985970ce4d532cdca1b9266.tar.bz2
fixed overflow issue caused by using Elgg's gallery view
-rw-r--r--views/default/tidypics/content_wrapper.php2
-rw-r--r--views/default/tidypics/css.php13
2 files changed, 13 insertions, 2 deletions
diff --git a/views/default/tidypics/content_wrapper.php b/views/default/tidypics/content_wrapper.php
index 757d069bb..08146b31b 100644
--- a/views/default/tidypics/content_wrapper.php
+++ b/views/default/tidypics/content_wrapper.php
@@ -1,7 +1,7 @@
<?php
echo elgg_view_title($vars['title']);
?>
-<div class="contentWrapper">
+<div class="contentWrapper tidypics_wrapper">
<div class="clearfloat"></div>
<?php
echo $vars['content'];
diff --git a/views/default/tidypics/css.php b/views/default/tidypics/css.php
index abcdc86a9..3a70a0ca6 100644
--- a/views/default/tidypics/css.php
+++ b/views/default/tidypics/css.php
@@ -5,7 +5,18 @@
?>
/* ---- tidypics object views ---- */
-#tidypics_wrapper {
+.tidypics_wrapper > table.entity_gallery {
+ border-spacing: 0;
+}
+
+.tidypics_wrapper .entity_gallery td {
+ padding: 0;
+}
+
+.tidypics_wrapper .entity_gallery_item,
+.tidypics_wrapper .entity_gallery_item:hover {
+ background-color: transparent;
+ color: inherit;
}
#tidypics_breadcrumbs {