diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index e82f8dc50f..aabeca355f 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -931,7 +931,10 @@ a.personal_agenda:hover, a.personal_agenda:hover { .message-attach { float:left; } - +#sn-extra-information .list-group-item{ + padding: 5px 10px; + border: none; +} /** BUTTONS **/ diff --git a/main/social/profile.php b/main/social/profile.php index f709932fa8..784a090483 100755 --- a/main/social/profile.php +++ b/main/social/profile.php @@ -324,7 +324,7 @@ if ($show_full_profile) { $extra_information = ''; if (is_array($extra_user_data) && count($extra_user_data)>0 ) { - $extra_information_value = ''; + $extra_information_value = ''; // if there are information to show if (!empty($extra_information_value)) { - $extra_information .= Display::panel( - $extra_information_value, - get_lang('ExtraInformation') - ); + $extra_information .= Display::panelCollapse( + get_lang('ExtraInformation'), + $extra_information_value, + 'sn-extra-information', + null, 'sn-extra-accordion', + 'sn-extra-collapse' + ); } }