js: Move dialogue-box sizing and positioning from JavaScript to CSS

This has the advantage that if you resize the window while a dialogue
box is active, the dialogue box adjusts itself accordingly.
This commit is contained in:
Ben Harris
2022-10-17 22:34:54 +01:00
parent c90d64f243
commit 49849e40ec
2 changed files with 3 additions and 3 deletions

View File

@ -225,12 +225,15 @@ EOF
}
#dlgform {
width: 66.6667vw;
opacity: 1;
background: #ffffff;
color: #000000;
position: absolute;
border: 2px solid black;
padding: 20px;
top: 10vh;
left: 16.6667vw;
z-index: 100;
}