Skip to content
Browse files

Improve CSS style

This is not a good way to do it because there are fixed values for
sizing. We should use more dynamic CSS rules to be adjusted properly
to the content and cover more use cases.
  • Loading branch information
humitos committed Jan 5, 2016
1 parent 0e5ed1b commit b53bd4de63ef0c0070489043a61d22f2dd6358ce
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/data/themes/bootstrap3/templates/gallery.tmpl
@@ -18,11 +18,11 @@
% if galleries_use_thumbnail:
<div class="row">
% for folder, ftitle, fpost in folders:
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="col-md-4 col-sm-6 col-xs-12" style="min-height: 425px;">
<div class="thumbnail">
<a href="${folder}">
% if fpost and getattr(fpost, 'previewimage', None):
<img src="${folder}${fpost.previewimage}" alt="${ftitle|h}">
<img src="${folder}${fpost.previewimage}" style="width: 340px; height: 255px;" alt="${ftitle|h}">
% elif galleries_default_thumbnail:
<img src="${galleries_default_thumbnail}" alt="${ftitle|h}">
% else:

0 comments on commit b53bd4d

Please sign in to comment.
You can’t perform that action at this time.