[Notice] Announcing the End of Demo Server [Read me]
board: fixed comment position from right side to meta info wrap
@4fdb3119df277436d9924d47addb4ef7405ed650
--- app/assets/stylesheets/less/_page.less
+++ app/assets/stylesheets/less/_page.less
... | ... | @@ -3197,6 +3197,14 @@ |
3197 | 3197 |
color: #696969; |
3198 | 3198 |
margin-right:5px; |
3199 | 3199 |
} |
3200 |
+ |
|
3201 |
+ .comment-wrap { |
|
3202 |
+ display:inline-block; |
|
3203 |
+ margin-left:10px; |
|
3204 |
+ |
|
3205 |
+ .num { color: @secondary; font-weight:bold; } |
|
3206 |
+ .icon { margin-right: 3px; color : #51aacc; } |
|
3207 |
+ } |
|
3200 | 3208 |
} |
3201 | 3209 |
} |
3202 | 3210 |
.author-avatar-space{ |
--- app/views/board/partial_list.scala.html
+++ app/views/board/partial_list.scala.html
... | ... | @@ -20,13 +20,11 @@ |
20 | 20 |
<p class="infos nm"> |
21 | 21 |
<a href="@routes.UserApp.userInfo(post.authorLoginId)" class="author">@post.authorName</a><!-- |
22 | 22 |
--> <span class="date">@utils.TemplateHelper.agoString(post.ago())</span> |
23 |
- </p> |
|
24 |
- </div> |
|
25 |
- <div class="right-panel"> |
|
26 |
- <div class="comment-wrap"> |
|
27 | 23 |
@if(post.numOfComments > 0){ |
28 |
- <i class="yobicon-comments"></i> <span class="num">@post.numOfComments</span> |
|
24 |
+ <a href="@routes.BoardApp.post(project.owner, project.name, post.getNumber)#comments" class="comment-wrap"> |
|
25 |
+ <i class="yobicon-comments"></i> <span class="num">@post.numOfComments</span> |
|
26 |
+ </a> |
|
29 | 27 |
} |
30 |
- </div> |
|
28 |
+ </p> |
|
31 | 29 |
</div> |
32 | 30 |
</li>(No newline at end of file) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?