Skip to content

Commit

Permalink
Fix modal window stickiness
Browse files Browse the repository at this point in the history
Previously the modal window appeared at a specific point in the page and
you could scroll away from it. This makes it always in the center of the
page.
  • Loading branch information
pganssle committed Nov 27, 2022
1 parent f1d1228 commit 55af972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio_feeder/data/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ div.topnav-icons {

.modal-window {
display: inline-block;
position: absolute;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
Expand Down

0 comments on commit 55af972

Please sign in to comment.