1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

User profile: Force a perfect circle for the avatar.

This commit is contained in:
Cameron 2016-03-22 04:31:07 -07:00
parent a8250858e3
commit 9cb9f347b1
2 changed files with 2 additions and 1 deletions

View File

@ -331,7 +331,7 @@ if(deftrue('BOOTSTRAP'))
<h5 class="user-id">'.LAN_USER_58.' {USER_ID}</h5>
</div>
<div class="panel-body text-center">
{SETIMAGE: w=200}
{SETIMAGE: w=200&h=200&crop=1}
{USER_PICTURE: shape=circle&link=1}
<div class="profile-header">
<h4>{USER_NAME}</h4>

View File

@ -147,6 +147,7 @@ div.bbcode { margin: 15px 0px; clear: both; } /* layout control via bbcodes */
/* User Profile css */
.panel-profile .user-avatar {
max-width: 150px;
max-height: 150px;
margin-top: -90px;
margin-bottom: 15px;
border: 5px solid #fff;