Changes to posts template to make it easier to display posts on top.

This commit is contained in:
Vikhyat Korrapati 2014-04-05 18:59:45 +05:30
parent 77133fd896
commit af69b78ecb
2 changed files with 17 additions and 15 deletions

View File

@ -22,7 +22,8 @@
{{#unless userDeleted}} {{#unless userDeleted}}
<div {{bind-attr class=":contents byTopicCreator:topic-creator :trigger-expansion"}}> <div {{bind-attr class=":contents byTopicCreator:topic-creator :trigger-expansion"}}>
<a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{avatar this imageSize="large"}}</a> <a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{avatar this imageSize="large"}}</a>
<h3 {{bind-attr class="staff new_user"}}><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{{breakUp username name}}}</a></h3> <div class="names">
<h3 {{bind-attr class="staff new_user :username"}}><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{{breakUp username name}}}</a></h3>
{{#if showName}} {{#if showName}}
<h3 class="full-name"><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{breakUp name}}</a></h3> <h3 class="full-name"><a href='{{unbound usernameUrl}}' {{action showPosterExpansion this}}>{{breakUp name}}</a></h3>
@ -36,6 +37,7 @@
{{/if}} {{/if}}
{{/if}} {{/if}}
</div> </div>
</div>
{{else}} {{else}}
<div class="contents"> <div class="contents">
<i class="fa fa-trash-o deleted-user-avatar"></i> <i class="fa fa-trash-o deleted-user-avatar"></i>

View File

@ -801,6 +801,7 @@ blockquote { /* solo quotes */
.row:before, .row:after {display: table; content: "";} .row:before, .row:after {display: table; content: "";}
.row:after {clear: both;} .row:after {clear: both;}
.embedded-posts { .embedded-posts {
h1, h2, h3 {margin: 10px 0;} h1, h2, h3 {margin: 10px 0;}
a.mention {background: lighten($secondary_background_color, 70%);} a.mention {background: lighten($secondary_background_color, 70%);}
@ -1015,7 +1016,6 @@ blockquote { /* solo quotes */
border-bottom: 1px solid $primary_border_color; border-bottom: 1px solid $primary_border_color;
border-right: 1px solid $primary_border_color; border-right: 1px solid $primary_border_color;
color: $secondary_text_color; color: $secondary_text_color;
} }
} }
} }