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:
parent
cd35e7085e
commit
38134bffa0
|
@ -7,15 +7,18 @@
|
||||||
background-color: rgba(0, 0, 0, 0.7);
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promptCard {
|
.promptCard {
|
||||||
width: 95%;
|
width: 95%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 40%;
|
left: 2.5%;
|
||||||
-ms-transform: translateY(-40%);
|
box-sizing: border-box;
|
||||||
transform: translateY(-40%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
|
|
Loading…
Reference in New Issue