diff options
author | luxagraf <sng@luxagraf.net> | 2015-12-17 21:54:24 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-12-17 21:54:24 -0500 |
commit | d6ed9d15abf6ea051bbcc727dd29fb143b798991 (patch) | |
tree | e1e71363ec5f48abc32ddb068a8d1393b6648f10 /design | |
parent | a506559088a6130220638b2b49c21fb4851b0406 (diff) |
tweaked admin thumbnails
Diffstat (limited to 'design')
-rw-r--r-- | design/templates/admin/photos/luxgallery/change_form.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/design/templates/admin/photos/luxgallery/change_form.html b/design/templates/admin/photos/luxgallery/change_form.html index ab387b3..6b26da1 100644 --- a/design/templates/admin/photos/luxgallery/change_form.html +++ b/design/templates/admin/photos/luxgallery/change_form.html @@ -9,9 +9,9 @@ if (!$) { $ = django.jQuery; } $(function(){ - $('#id_images').css('width', '600px').css('height', '500px'); + $('#id_images').css('width', '500px').css('height', '400px'); $('#id_images option').each(function(){ - $(this).attr('style', 'background: url({{MEDIA_URL}}images/galleries/thumb/'+$(this).text()+') no-repeat; background-size: 120px 80px; height: 80px; padding-left: 120px; line-height: 80px;'); + $(this).attr('style', 'background: url({{MEDIA_URL}}images/galleries/thumb/'+$(this).text()+') no-repeat; background-size: 120px 80px; height: 80px; padding-left: 120px; line-height: 80px; margin-bottom: 4px;'); }); }); </script> |