Overlay island now centred on X & Y Axis

This commit is contained in:
Fred Boniface 2023-06-28 22:15:16 +01:00
parent d763898d8d
commit 4903e0501d

View File

@ -17,9 +17,9 @@ span {
} }
div { div {
position: fixed; position: fixed;
top: 60px; top: 50%;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateY(-50%) translateX(-50%);
width: 75%; width: 75%;
height: auto; height: auto;
max-height: 75vh; max-height: 75vh;