mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Don't position:fixed the login/language popups.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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()
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user