From 83221c9eb9dcf37d5287180e7f7d9469036aaac6 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 24 Sep 2011 22:29:22 -0400 Subject: Fixes #3653 shrink wrapping .elgg-avatar so that hover menu arrow is constrained to the avatar image --- views/default/css/admin.php | 1 + views/default/css/elements/icons.php | 1 + views/default/css/ie.php | 4 ++++ views/default/css/ie7.php | 4 ++++ 4 files changed, 10 insertions(+) (limited to 'views') 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 -- cgit v1.2.3