Commit 63301300 by Tom Giannattasio

tweaked inline tag styles; added href to tags

parent d22cb059
...@@ -38,7 +38,7 @@ if Backbone? ...@@ -38,7 +38,7 @@ if Backbone?
for tag in @model.get("tags") for tag in @model.get("tags")
if !tags if !tags
tags = $('<div class="thread-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) @$(".post-body").after(tags)
tagSelected: (e) -> tagSelected: (e) ->
......
...@@ -2003,6 +2003,7 @@ body.discussion { ...@@ -2003,6 +2003,7 @@ body.discussion {
.thread-tag { .thread-tag {
padding: 3px 10px 6px; padding: 3px 10px 6px;
margin-right: 5px;
border-radius: 3px; border-radius: 3px;
color: #333; color: #333;
background: #c5eeff; background: #c5eeff;
...@@ -2299,12 +2300,14 @@ body.discussion { ...@@ -2299,12 +2300,14 @@ body.discussion {
} }
} }
} }
.thread-tags { .thread-tags {
margin: 20px 0; margin: 20px 0;
} }
.thread-tag { .thread-tag {
padding: 3px 10px 6px; padding: 3px 10px 6px;
margin-right: 5px;
border-radius: 3px; border-radius: 3px;
color: #333; color: #333;
background: #c5eeff; background: #c5eeff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment