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

View File

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