tweaked inline tag styles; added href to tags

This commit is contained in:
Tom Giannattasio
2012-09-13 15:01:54 -04:00
parent 991e3fd1b7
commit d2c6ae9391
2 changed files with 4 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ if Backbone?
for tag in @model.get("tags")
if !tags
tags = $('<div class="thread-tags">')
tags.append("<a class='thread-tag'>#{tag}</a>")
tags.append("<a href='#' class='thread-tag'>#{tag}</a>")
@$(".post-body").after(tags)
tagSelected: (e) ->

View File

@@ -2003,6 +2003,7 @@ body.discussion {
.thread-tag {
padding: 3px 10px 6px;
margin-right: 5px;
border-radius: 3px;
color: #333;
background: #c5eeff;
@@ -2299,12 +2300,14 @@ body.discussion {
}
}
}
.thread-tags {
margin: 20px 0;
}
.thread-tag {
padding: 3px 10px 6px;
margin-right: 5px;
border-radius: 3px;
color: #333;
background: #c5eeff;