Skip to content

Commit

Permalink
Fix Media field lightbox in subform (#11760)
Browse files Browse the repository at this point in the history
This PR fixes a media field lightbox issue when additional subforms are added extending the page height. This results in the lightbox background no longer filling the page. Setting the lightbox background div (#sbox-overlay) to 'fixed' ensures the background remains within the viewport regardless of the page height.
  • Loading branch information
ciar4n authored and wilsonge committed Aug 24, 2016
1 parent c7c3c9f commit 21e1223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/system/css/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

#sbox-overlay {
position: absolute;
position: fixed;
background-color: #000;
left: 0px;
top: 0px;
Expand Down

0 comments on commit 21e1223

Please sign in to comment.