Merge pull request #2876 from PayBas/ticket/12900

[ticket/12900] Fix potential avatar size box overflow
This commit is contained in:
Marc Alexander 2014-08-14 14:47:20 +02:00
commit ad625c1e6d
3 changed files with 8 additions and 1 deletions

View file

@ -10,7 +10,7 @@
<!-- 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>

View file

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

View file

@ -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;