changeset 154:82deb8cc59e9

Fix #26; IE8 has problems displaying lists of divs.
author Brian Neal <bgneal@gmail.com>
date Sat, 19 Dec 2009 20:12:29 +0000
parents 13d052fbe4f1
children ef93dc9f1992
files gpp/templates/comments/comment.html gpp/templates/comments/comment_list.html gpp/templates/comments/markdown.html media/css/comments.css
diffstat 4 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/templates/comments/comment.html	Sat Dec 19 19:34:16 2009 +0000
+++ b/gpp/templates/comments/comment.html	Sat Dec 19 20:12:29 2009 +0000
@@ -1,8 +1,8 @@
 {% load avatar_tags %}
 {% load markup %}
 {% load smiley_tags %}
-<li>
 <div class="comment" id="c{{ comment.id }}">
+<div class="comment-list">{{ forloop.counter }}.</div>
 <div class="comment-avatar">
 <a href="{% url bio-view_profile username=comment.user.username%}">{% avatar comment.user %}</a>
 </div>
@@ -22,4 +22,3 @@
 {% endif %}
 </div>
 </div>
-</li>
--- a/gpp/templates/comments/comment_list.html	Sat Dec 19 19:34:16 2009 +0000
+++ b/gpp/templates/comments/comment_list.html	Sat Dec 19 20:12:29 2009 +0000
@@ -1,5 +1,3 @@
-<ol id="comment-list">
 {% for comment in comments %}
 {% include 'comments/comment.html' %}
 {% endfor %}
-</ol>
--- a/gpp/templates/comments/markdown.html	Sat Dec 19 19:34:16 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-{% load markup %}
-{% load smiley_tags %}
-{{ data|markdown:"safe"|smilify }}
--- a/media/css/comments.css	Sat Dec 19 19:34:16 2009 +0000
+++ b/media/css/comments.css	Sat Dec 19 20:12:29 2009 +0000
@@ -1,7 +1,9 @@
-#comment-list {
+div.comment-list {
+    float: left;
     font-size: 18px;
     font-weight: bold;
     color: #999;
+    padding-right: .5em;
 }
 div.comment {
     padding: 0.5em;