Skip to content

Commit a974f00

Browse files
authored
Update pfp-zoom.js (#395)
1 parent e905a27 commit a974f00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packet/static/js/pfp-zoom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $(document).ready(function () {
2121
other.remove()
2222
}
2323
photo.insertAdjacentHTML('afterend', `
24-
<div id="zoom-photo" style="position: fixed; z-index: 1050; display: block">
24+
<div id="zoom-photo" style="position: absolute; z-index: 1050; display: block">
2525
<img class="eval-user-img"
2626
alt=${photo.alt}
2727
src=${photo.src}
@@ -33,4 +33,4 @@ $(document).ready(function () {
3333
})
3434
})
3535

36-
})
36+
})

0 commit comments

Comments
 (0)