aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/ie.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/css/ie.php')
-rw-r--r--views/default/css/ie.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/views/default/css/ie.php b/views/default/css/ie.php
new file mode 100644
index 000000000..34ececa89
--- /dev/null
+++ b/views/default/css/ie.php
@@ -0,0 +1,16 @@
+/**
+ * CSS for IE8 and above
+ */
+
+/* ie8 does not like shrink wrapping this div with inline-block */
+.elgg-avatar {
+ display: block;
+}
+
+/* ie8 adds space to the top of .elgg-gallery which causes jumpiness if this is display: block; */
+.elgg-gallery .elgg-avatar > a > img {
+ display: inline-block;
+}
+.elgg-gallery .elgg-avatar > .elgg-icon-hover-menu {
+ bottom: 4px;
+}