1
0

Center error dialog in window

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-02-28 20:28:10 -08:00
parent 8da3f909ef
commit 69de42f644

View File

@ -68,12 +68,11 @@
display: flex; display: flex;
position: absolute; position: absolute;
left: 0; left: 0;
right: 0; right: 30vw;
bottom: 0; bottom: 0;
top: 0; top: 0;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
background: rgba(0,0,0,0.5);
z-index: 1000; z-index: 1000;
max-height: 100vh; max-height: 100vh;
overflow: auto; overflow: auto;
@ -478,15 +477,12 @@ button {
display: flex; display: flex;
position: absolute; position: absolute;
top: calc(50vh - 1.5em); top: calc(50vh - 1.5em);
left: 0px; left: calc(0vw + 1em);
right: 0px; right: calc(30vw + 2em);
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-color: yellow; background-color: yellow;
text-align: left;
font-size: 12pt;
padding: 1em; padding: 1em;
margin: 1em;
z-index: 10000; z-index: 10000;
} }