Added proper post highlight
This commit is contained in:
@ -15,7 +15,7 @@ component Dashboard(posts []*arn.Post, following []*arn.User)
|
||||
h3.widget-title Forums
|
||||
|
||||
each post in posts
|
||||
a.widget-element.ajax(href=post.Thread().Link())
|
||||
a.widget-element.ajax(href=post.Thread().Link() + "#" + post.ID)
|
||||
.widget-element-text
|
||||
Icon(arn.GetForumIcon(post.Thread().Tags[0]))
|
||||
span= post.Thread().Title
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
.post-author
|
||||
margin-bottom 0.25rem
|
||||
|
||||
[data-highlight="true"]
|
||||
.post-content
|
||||
border 2px solid post-highlight-color
|
||||
|
||||
> 600px
|
||||
.post
|
||||
|
Reference in New Issue
Block a user