FIX: CSS for post selection was off in lower resolutions

This commit is contained in:
Robin Ward 2013-07-02 15:29:05 -04:00
parent 7f70bc3bbd
commit 9c552c39a2
2 changed files with 7 additions and 5 deletions

View File

@ -8,10 +8,6 @@
<article class='boxed' {{bindAttr id="postElementId"}} {{bindAttr data-post-id="id"}} data-user-id="{{unbound user_id}}">
<div class='row'>
{{#if controller.multiSelect}}
<button class='post-select' {{action selectPost this}}>{{view.selectText}}</button>
{{/if}}
{{#if showUserReplyTab}}
<a href='#' {{action toggleParent target="view"}} class='reply-to-tab'>
{{#if loadingParent}}
@ -33,6 +29,10 @@
</div>
<div class='topic-body span14'>
{{#if controller.multiSelect}}
<button class='post-select' {{action selectPost this}}>{{view.selectText}}</button>
{{/if}}
<div {{bindAttr class="showUserReplyTab:avoid-tab view.repliesHidden:bottom-round :contents :regular view.extraClass"}}>
{{view Discourse.PrependPostView postBinding="this"}}
{{#unless controller.multiSelect}}

View File

@ -491,6 +491,7 @@
position: relative;
font-size: 16px;
line-height: 20px;
.post-select {
@include border-radius-all(4px);
background-color: $light_gray;
@ -501,11 +502,12 @@
color: $darkish_gray;
top: 4px;
position: absolute;
right: 316px;
right: 5px;
font-size: 12px;
padding: 2px 5px;
z-index: 490;
}
.topic-meta-data-inside {
float: right;
z-index: 490;