aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bn_django/photos/templates/photos/gallery_detail.html2
-rw-r--r--static/style/default.css1
2 files changed, 2 insertions, 1 deletions
diff --git a/bn_django/photos/templates/photos/gallery_detail.html b/bn_django/photos/templates/photos/gallery_detail.html
index 6720204..0b3a4af 100644
--- a/bn_django/photos/templates/photos/gallery_detail.html
+++ b/bn_django/photos/templates/photos/gallery_detail.html
@@ -10,7 +10,7 @@
{% if object %}Photo Set: {{ object.title }} {% endif %}
{% endblock %}
{% block content %}
-{% if object %} <br />
+{% if object %}
{% if object.photo_set.count %}
<table width="100%" class="thumbs">
{% for item in object.photo_set.all %} {% cycle <tr/>,&nbsp;,&nbsp;,&nbsp; %}
diff --git a/static/style/default.css b/static/style/default.css
index c3bd002..72ed83c 100644
--- a/static/style/default.css
+++ b/static/style/default.css
@@ -203,6 +203,7 @@ pre.large {
border: none;
text-align: center; }
td.gallery_title {
+ vertical-align: top;
padding-left: 14px; }
table.thumbs tr {
padding: 0px;