Centering update prompt card (#2668)

* Making the update prompt card fit inside the window

* Centering the update promptCard using flex
This commit is contained in:
Emma 2022-10-04 01:08:26 -04:00 committed by GitHub
parent cd35e7085e
commit 38134bffa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -7,15 +7,18 @@
background-color: rgba(0, 0, 0, 0.7);
z-index: 10;
padding: 15px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
}
.promptCard {
width: 95%;
margin: 0;
position: absolute;
top: 40%;
-ms-transform: translateY(-40%);
transform: translateY(-40%);
left: 2.5%;
box-sizing: border-box;
}
.center {