Avatars resizing fixed

main
Inga 🏳‍🌈 15 years ago
parent 5c9e6c4c40
commit 83e810e253
  1. 2
      Builder/IISMainHandler/build.txt
  2. 6
      static/css/global.css
  3. 2
      templates/Full/elems/UserInfoBar.xslt

@ -84,4 +84,10 @@ pre
}
.warning {
background-color:red;
}
.avatar {
max-height:80px;
height:expression((this.scrollHeight >= 80) ? '80px' : 'auto');
max-width:80px;
width:expression((this.scrollHeight >= 80) ? '80px' : 'auto');
}

@ -29,7 +29,7 @@
<xsl:if test="avatar">
<tr>
<td class="small">
<img alt="" width="80" height="80">
<img alt="" class="avatar">
<xsl:attribute name="src">/Upload/Item/<xsl:value-of select="avatar"/>/</xsl:attribute>
</img>
</td>

Loading…
Cancel
Save