Added a bit of bottom margin to the new tag widgets
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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>')
|
||||
|
||||
Reference in New Issue
Block a user