diff --git a/lib/accountprofileblock.php b/lib/accountprofileblock.php index 25734f53ed..59c2777601 100644 --- a/lib/accountprofileblock.php +++ b/lib/accountprofileblock.php @@ -310,7 +310,7 @@ class AccountProfileBlock extends ProfileBlock function show() { - $this->out->elementStart('div', 'account_profile_block section'); + $this->out->elementStart('div', 'profile_block account_profile_block section'); if (Event::handle('StartShowAccountProfileBlock', array($this->out, $this->profile))) { parent::show(); Event::handle('EndShowAccountProfileBlock', array($this->out, $this->profile)); diff --git a/lib/groupprofileblock.php b/lib/groupprofileblock.php index 30e9a235a2..10dddb8467 100644 --- a/lib/groupprofileblock.php +++ b/lib/groupprofileblock.php @@ -126,7 +126,7 @@ class GroupProfileBlock extends ProfileBlock function show() { - $this->out->elementStart('div', 'group_profile_block section'); + $this->out->elementStart('div', 'profile_block group_profile_block section'); if (Event::handle('StartShowGroupProfileBlock', array($this->out, $this->group))) { parent::show(); Event::handle('EndShowGroupProfileBlock', array($this->out, $this->group)); diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 6e76446484..68081a8898 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1347,6 +1347,8 @@ border:0; padding:0; width:16px; height:16px; + position: relative; + top: -3px; } .entity_profile .entity_nickname, diff --git a/theme/neo/css/display.css b/theme/neo/css/display.css index 6942d1f010..da19d02127 100644 --- a/theme/neo/css/display.css +++ b/theme/neo/css/display.css @@ -481,6 +481,18 @@ address { text-transform: uppercase; } +.profile_block .entity_actions { + float: right; + width: 110px; + margin-top: 2px; + margin-bottom: 2px; +} + +.profile_block .entity_moderation:hover ul, +.profile_block .entity_role:hover ul { + right: 20px; +} + .profile_block_name { font-size: 14px; font-weight: bold; @@ -494,20 +506,6 @@ address { line-height: 1.2em; } -.profile_block .entity_actions { - float: left; - margin-left: 0px; -} - -.profile_block .entity_moderation:hover ul, -.profile_block .entity_role:hover ul { - left: 20px; -} - -.profile_block a.profiledetail { - display: block; -} - .section ul.entities { width: 240px; }