Skip to content

Commit

Permalink
Merge pull request #2876 from PayBas/ticket/12900
Browse files Browse the repository at this point in the history
[ticket/12900] Fix potential avatar size box overflow
  • Loading branch information
marc1706 committed Aug 14, 2014
2 parents 26b8c6c + 030d1a6 commit ad625c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion phpBB/styles/prosilver/template/memberlist_view.html
Expand Up @@ -10,7 +10,7 @@ <h2 class="memberlist-title">{PAGE_TITLE}</h2>

<!-- IF AVATAR_IMG -->
<dl class="left-box">
<dt>{AVATAR_IMG}</dt>
<dt class="profile-avatar">{AVATAR_IMG}</dt>
<!-- IF RANK_TITLE --><dd style="text-align: center;">{RANK_TITLE}</dd><!-- ENDIF -->
<!-- IF RANK_IMG --><dd style="text-align: center;">{RANK_IMG}</dd><!-- ENDIF -->
</dl>
Expand Down
2 changes: 2 additions & 0 deletions phpBB/styles/prosilver/theme/common.css
Expand Up @@ -768,6 +768,7 @@ table.info tbody th {
float: left;
width: auto;
text-align: left;
max-width: 100%;
}

.left-box.profile-details {
Expand All @@ -778,6 +779,7 @@ table.info tbody th {
float: right;
width: auto;
text-align: right;
max-width: 100%;
}

dl.details {
Expand Down
5 changes: 5 additions & 0 deletions phpBB/styles/prosilver/theme/content.css
Expand Up @@ -759,6 +759,11 @@ dd.profile-contact {
width: 30%;
}

/* Profile used on view-profile */
.profile-avatar img {
max-width: 100%;
}

/* pm list in compose message if mass pm is enabled */
dl.pmlist dt {
width: 60% !important;
Expand Down

0 comments on commit ad625c1

Please sign in to comment.