FIX: Jump on mobile when cloaking

This commit is contained in:
Robin Ward 2016-03-01 12:48:40 -05:00
parent 9dc533a26c
commit 3d5dfab54e
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ export function cloak(post, component) {
if (!CLOAKING_ENABLED || _cloaked[post.id] || _dontCloak[post.id]) { return; }
const $post = $(`#post_${post.post_number}`);
_cloaked[post.id] = $post.height();
_cloaked[post.id] = $post.outerHeight();
Ember.run.debounce(component, 'queueRerender', 1000);
}

View File

@ -14,7 +14,7 @@
margin-top: 5px;
}
.topic-post {
.topic-post article {
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
padding: 6px 0;
}