Don't position:fixed the login/language popups.

This commit is contained in:
Max Goodman
2013-04-30 17:42:03 -07:00
parent 00e86bcb8b
commit 6e7cbd6e41
2 changed files with 4 additions and 2 deletions

View File

@@ -2179,10 +2179,11 @@ li.searchfacet {
}
.popup {
position: fixed;
position: absolute;
left: 10%;
background-color: white;
top: 40px;
top: 0;
margin-top: 40px;
width: 80%;
text-align: left;
z-index: 1001;

View File

@@ -272,6 +272,7 @@ r.ui.LoginPopup.prototype = $.extend(new r.ui.Base(), {
$.request("new_captcha", {id: this.$el.attr('id')})
this.$el
.find(".cover-msg").toggle(!!notice).end()
.find('.popup').css('top', $(document).scrollTop()).end()
.show()
},