diff --git a/assets/css/hw-web.css b/assets/css/hw-web.css index 5775ab0e..a5d46f6a 100644 --- a/assets/css/hw-web.css +++ b/assets/css/hw-web.css @@ -261,18 +261,24 @@ pre, code{ text-align: center; vertical-align: middle; } -.tableview-links li>a.detail-disclosure-button span{ +.tableview-links li>a.detail-disclosure-button:before{ display: inline-block; width: 17px; height: 17px; background: transparent url(../images/web/comments-icon.png) no-repeat; background-image: url(../images/web/comments-icon.svg), none; background-size: 17px 17px; - margin: 15px 0; + margin: 15px 0 5px 0; + content: ""; } -.tableview-links li>a.detail-disclosure-button:active span{ +.tableview-links li>a.detail-disclosure-button:active:before { opacity: .5; } +.tableview-links li > a.detail-disclosure-button>.comments-count { + display: block; + font-size: 12px; + color: #aaa; +} .tableview-links li>a.more-link{ color: #007aff; cursor: pointer; diff --git a/assets/templates/post.mustache b/assets/templates/post.mustache index 7351d6c0..60d7be12 100644 --- a/assets/templates/post.mustache +++ b/assets/templates/post.mustache @@ -6,8 +6,7 @@ {{#user}} {{#domain}}{{domain}}
{{/domain}} - {{points}} {{i_point}} by {{user}} - {{time_ago}}{{#comments_count}} · {{comments_count}} {{i_comment}}{{/comments_count}} + {{points}} {{i_point}} by {{user}} {{time_ago}}
{{/user}} {{^user}} @@ -19,6 +18,8 @@ {{#detail_disclosure}} - + + {{comments_count}} + {{/detail_disclosure}} \ No newline at end of file