aboutsummaryrefslogtreecommitdiff
path: root/views/default/css
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-09-24 22:29:22 -0400
committerCash Costello <cash.costello@gmail.com>2011-09-24 22:29:22 -0400
commit83221c9eb9dcf37d5287180e7f7d9469036aaac6 (patch)
tree15aab992a140a63a0dcdc4962e7f3e569f92c762 /views/default/css
parent43f82db7fe8cab6b035fb66b307e5466cb5b3aa5 (diff)
downloadelgg-83221c9eb9dcf37d5287180e7f7d9469036aaac6.tar.gz
elgg-83221c9eb9dcf37d5287180e7f7d9469036aaac6.tar.bz2
Fixes #3653 shrink wrapping .elgg-avatar so that hover menu arrow is constrained to the avatar image
Diffstat (limited to 'views/default/css')
-rw-r--r--views/default/css/admin.php1
-rw-r--r--views/default/css/elements/icons.php1
-rw-r--r--views/default/css/ie.php4
-rw-r--r--views/default/css/ie7.php4
4 files changed, 10 insertions, 0 deletions
diff --git a/views/default/css/admin.php b/views/default/css/admin.php
index e9e489fcb..c032ee3fc 100644
--- a/views/default/css/admin.php
+++ b/views/default/css/admin.php
@@ -1065,6 +1065,7 @@ a.elgg-widget-collapsed:before {
*************************************** */
.elgg-avatar {
position: relative;
+ display: inline-block;
}
.elgg-avatar > a > img {
display: block;
diff --git a/views/default/css/elements/icons.php b/views/default/css/elements/icons.php
index ee166b5be..f7c789e33 100644
--- a/views/default/css/elements/icons.php
+++ b/views/default/css/elements/icons.php
@@ -297,6 +297,7 @@
*************************************** */
.elgg-avatar {
position: relative;
+ display: inline-block;
}
.elgg-avatar > a > img {
display: block;
diff --git a/views/default/css/ie.php b/views/default/css/ie.php
index d20bb4d59..4bddd4d55 100644
--- a/views/default/css/ie.php
+++ b/views/default/css/ie.php
@@ -2,3 +2,7 @@
* CSS for IE8 and above
*/
+/* ie8 does not like shrink wrapping this div with inline-block */
+.elgg-avatar {
+ display: block;
+}
diff --git a/views/default/css/ie7.php b/views/default/css/ie7.php
index 91d23823f..56047b954 100644
--- a/views/default/css/ie7.php
+++ b/views/default/css/ie7.php
@@ -47,3 +47,7 @@
width: 100px;
float: right;
}
+
+.elgg-avatar {
+ display: inline;
+} \ No newline at end of file