FIX: Selecting posts was broken on IOS9 iPad

This commit is contained in:
Robin Ward 2015-09-21 13:50:05 -04:00
parent af7f00099f
commit 9f6ce653a9
2 changed files with 10 additions and 6 deletions

View File

@ -71,8 +71,8 @@
<div {{bind-attr class=":read-state read"}} title="{{i18n 'post.unread'}}">{{fa-icon "circle"}}</div>
</div>
<div {{bind-attr class=":select-posts controller.multiSelect::hidden"}}>
<button {{action "toggledSelectedPostReplies" this}} {{bind-attr class="view.canSelectReplies::hidden"}}>{{i18n 'topic.multi_select.select_replies'}}</button>
<div class="select-posts {{unless controller.multiSelect 'hidden'}}">
<button {{action "toggledSelectedPostReplies" this}} class="{{unless view.canSelectReplies 'hidden'}}">{{i18n 'topic.multi_select.select_replies'}}</button>
<button {{action "toggledSelectedPost" this}} class="select-post">{{view.selectPostText}}</button>
</div>

View File

@ -789,16 +789,20 @@ $topic-avatar-width: 45px;
}
#selected-posts {
margin-left: 330px;
width: 200px;
position: fixed;
z-index: 1000;
left: 50%;
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
border: 1px solid $tertiary;
padding: 5px;
margin-bottom: 5px;
right: 10px;
@include large-width {
right: auto;
margin-left: 330px;
left: 50%;
}
button {
width: 180px;
@ -880,7 +884,7 @@ $topic-avatar-width: 45px;
left: 100%;
z-index: 490;
top: 8px;
width: 800px;
width: 200px;
height: 100px;
background-color: $secondary;