Added a bit of bottom margin to the new tag widgets

This commit is contained in:
Roberto Rosario
2011-10-24 22:59:50 -04:00
parent 1077e4e2e2
commit 773f0061c4
2 changed files with 2 additions and 1 deletions

View File

@@ -83,6 +83,7 @@
box-shadow: 1px 1px 2px #888;
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #fff, 0 0 70px #fff, 0 0 80px #fff, 0 0 100px #fff, 0 0 150px #fff;
margin-bottom: 2px;
}
.tags li:after {

View File

@@ -14,7 +14,7 @@ def get_tags_inline_widget(document):
'tag_string': _(u'Tags'), 'tag_count': tag_count})
for tag in document.tags.all():
tags_template.append(u'<ul class="tags"><li style="background: %s; margin-bottom: 2px;">%s</li></ul>' % (tag.tagproperties_set.get().get_color_code(), tag.name))
tags_template.append(u'<ul class="tags"><li style="background: %s;">%s</li></ul>' % (tag.tagproperties_set.get().get_color_code(), tag.name))
tags_template.append(u'<div style="clear:both;"></div>')
tags_template.append(u'</div>')