Commit c748a7ca5bdc209b5aa4d9f667f7bc8888ad2576
1 parent
335af8a0
Exists in
master
and in
38 other branches
Display article image
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
src/app/components/noosfero-blocks/recent-documents/recent-documents.html
@@ -12,8 +12,7 @@ | @@ -12,8 +12,7 @@ | ||
12 | </span> | 12 | </span> |
13 | </div> | 13 | </div> |
14 | </div> | 14 | </div> |
15 | - | ||
16 | - <img ng-if="card.image" ng-src="card.image.url"> | 15 | + <img ng-show="card.image" ng-src="{{card.image.url}}" class="img-responsive article-image"> |
17 | <div class="post-lead" ng-bind-html="card.body | stripTags | truncate: 100: '...'"></div> | 16 | <div class="post-lead" ng-bind-html="card.body | stripTags | truncate: 100: '...'"></div> |
18 | </div> | 17 | </div> |
19 | </div> | 18 | </div> |
src/app/components/noosfero-blocks/recent-documents/recent-documents.scss