Move post timestamp in embedded post to the top right

This commit is contained in:
Neil Lalonde 2013-07-02 15:10:58 -04:00
parent 075ed1ab53
commit 0fde2a2d54
2 changed files with 9 additions and 3 deletions

View File

@ -6,12 +6,12 @@
<a href='/users/{{unbound username}}'>{{avatar this imageSize="small"}}</a>
</div>
<h5 {{bindAttr class="staff new_user"}}><a href='{{unbound usernameUrl}}'>{{breakUp username}}</a></h5>
<span class='post-date'>{{date created_at}}</span>
</div>
</div>
<div class='span11 topic-body'>
{{#if view.previousPost}}<a href='{{unbound url}}' class="arrow" title="{{i18n topic.jump_reply_up}}"><i class='icon icon-arrow-up'></i></a>{{/if}}
<div class='post-date'>{{date created_at}}</div>
{{{unbound cooked}}}
{{#unless view.previousPost}}<a href='{{unbound url}}' class="arrow" title="{{i18n topic.jump_reply_down}}"><i class='icon icon-arrow-down'></i></a>{{/unless}}
</div>

View File

@ -451,12 +451,18 @@
left: -9px;
}
a.arrow {
a.arrow, .post-date {
float: right;
}
a.arrow {
margin: 3px 0 3px 0;
color: grey;
}
.post-date {
margin: 3px 10px 3px 0;
color: #aaa;
font-size: 12px;
}
}
.about {
.contents {