resize the commenter's image with css;
svn path=/plone.app.discussion/trunk/; revision=27191
This commit is contained in:
parent
2ecd5e76a5
commit
4d0541bfd8
@ -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">
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user