resize the commenter's image with css;

svn path=/plone.app.discussion/trunk/; revision=27191
This commit is contained in:
Timo Stollenwerk 2009-05-28 07:00:40 +00:00
parent 2ecd5e76a5
commit 4d0541bfd8
2 changed files with 16 additions and 3 deletions

View File

@ -19,14 +19,13 @@
style string:margin-left: ${depth}em;
id string:comment-${reply/id}">
<tal:authorimage tal:condition="not:anonymous_creator">
<div class="commentImage" tal:condition="not:anonymous_creator">
<a href="" tal:attributes="href author_home_url">
<img src="" alt=""
tal:attributes="src string:${context/portal_url}/portal_memberdata/portraits/${reply/author_username};
alt reply/creator" />
</a>
</tal:authorimage>
</div>
<h3>
<a name="comments" tal:attributes="name reply/title">

View File

@ -1,5 +1,19 @@
/* plone.app.discussion stylesheet */
/* Comments Viewlet
---------------------------------------------------------------- */
.commentImage {
}
.commentImage img {
width: 50px;
}
/* Forms
---------------------------------------------------------------- */
.reply-to-comment-button {
float: right;
margin-top: -2.5em;