Permalink
Browse files

Layout thumbnail in change_view a bit better.

  • Loading branch information...
1 parent 3132746 commit 51800470b30c3d95e89bac45846a2c206dc337da Martin J. Laubach committed Apr 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 feincms/module/medialibrary/fields.py
@@ -73,7 +73,7 @@ def render(self, name, value, attrs=None):
if mimetypes.types_map.get(ext, '-').startswith('image'):
thumb_url = feincms_thumbnail.thumbnail(value, "100x100")
if thumb_url:
- r = mark_safe((u'<img src="%s" alt="" style="float: left; margin-right: 10px;">' % thumb_url) + r)
+ r = mark_safe((u'<img src="%s" alt="" style="float: left; padding-right: 8px; border-right: 1px solid #ccc; margin-right: 8px">' % thumb_url) + r)
return r

0 comments on commit 5180047

Please sign in to comment.