tweaked inline tag styles; added href to tags
This commit is contained in:
@@ -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) ->
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user