src/Modal/styles.scss
.ui-modal-content {
background-color: whitesmoke;
display: none;
left: 50%;
top: 50%;
padding: 20px;
position: absolute;
transform: translate(-50%, -50%);
z-index: 10000;
.close-button {
cursor: pointer;
padding: 5px;
position: absolute;
right: 0;
top: 0;
}
}
.ui-modal-overlay {
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.5);
display: none;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 9999;
&.ui-modal-fullscreen {
height: 100vh;
position: fixed;
width: 100vw;
}
}