mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:12:45 +08:00
FIX: Jump on mobile when cloaking
This commit is contained in:
parent
9dc533a26c
commit
3d5dfab54e
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user