mirror of
https://github.com/twisterarmy/twister-calm.git
synced 2025-01-26 22:54:23 +00:00
fix incorrect scroll after click on Reply in profile modal window
This commit is contained in:
parent
9bb2edea97
commit
74dd1d0308
@ -354,7 +354,7 @@ button.follow:hover {
|
||||
font: 18px/40px 'Open Sans Condensed', sans-serif;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.profile-modal .postboard-posts
|
||||
.profile-modal .postboard-posts-wrapper
|
||||
{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
@ -363,8 +363,10 @@
|
||||
<button class="postboard-news" style="display:none;"></button>
|
||||
</h2>
|
||||
|
||||
<div class="postboard-posts-wrapper">
|
||||
<ol id="profile-posts" class="postboard-posts">
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- ÁREA DE POSTS END -->
|
||||
|
@ -481,8 +481,11 @@
|
||||
<button class="postboard-news" style="display:none;"></button>
|
||||
</h2>
|
||||
<div id="separator"></div>
|
||||
|
||||
<div class="postboard-posts-wrapper">
|
||||
<ol id="profile-posts" class="postboard-posts">
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- ÁREA DE POSTS END -->
|
||||
|
@ -126,7 +126,7 @@ function openProfileModal(e)
|
||||
$mc.on('profileloaded', function() {
|
||||
var viewHeader = $mc.find(".postboard > h2");
|
||||
var h = viewHeader.offset().top + viewHeader.outerHeight() - $mc.parent().offset().top + 5;
|
||||
$mc.find(".postboard-posts").css('border-top', parseInt(h, 10) + "px solid transparent");
|
||||
$mc.find(".postboard-posts-wrapper").css('border-top', parseInt(h, 10) + "px solid transparent");
|
||||
});
|
||||
$mc.trigger('profileloaded');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user