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