mirror of
https://github.com/twisterarmy/twister-calm.git
synced 2025-01-27 23:24:28 +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;
|
font: 18px/40px 'Open Sans Condensed', sans-serif;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
.profile-modal .postboard-posts
|
.profile-modal .postboard-posts-wrapper
|
||||||
{
|
{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -363,8 +363,10 @@
|
|||||||
<button class="postboard-news" style="display:none;"></button>
|
<button class="postboard-news" style="display:none;"></button>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
<div class="postboard-posts-wrapper">
|
||||||
<ol id="profile-posts" class="postboard-posts">
|
<ol id="profile-posts" class="postboard-posts">
|
||||||
</ol>
|
</ol>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- ÁREA DE POSTS END -->
|
<!-- ÁREA DE POSTS END -->
|
||||||
|
@ -481,8 +481,11 @@
|
|||||||
<button class="postboard-news" style="display:none;"></button>
|
<button class="postboard-news" style="display:none;"></button>
|
||||||
</h2>
|
</h2>
|
||||||
<div id="separator"></div>
|
<div id="separator"></div>
|
||||||
|
|
||||||
|
<div class="postboard-posts-wrapper">
|
||||||
<ol id="profile-posts" class="postboard-posts">
|
<ol id="profile-posts" class="postboard-posts">
|
||||||
</ol>
|
</ol>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- ÁREA DE POSTS END -->
|
<!-- ÁREA DE POSTS END -->
|
||||||
|
@ -126,7 +126,7 @@ function openProfileModal(e)
|
|||||||
$mc.on('profileloaded', function() {
|
$mc.on('profileloaded', function() {
|
||||||
var viewHeader = $mc.find(".postboard > h2");
|
var viewHeader = $mc.find(".postboard > h2");
|
||||||
var h = viewHeader.offset().top + viewHeader.outerHeight() - $mc.parent().offset().top + 5;
|
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');
|
$mc.trigger('profileloaded');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user