fix: modal

This commit is contained in:
rizaldy 2024-06-14 13:36:28 +07:00
parent 4421a041fe
commit a31697f510

View File

@ -253,19 +253,15 @@
} }
.js-modal__content { .js-modal__content {
max-width: 500px; height: 100%;
height: 300px; width: 100%;
position: absolute; position: absolute;
left: 50%;
top: 50%;
margin-left: -200px;
margin-top: -150px;
background-color: #ffffff; background-color: #ffffff;
padding: 2rem; padding: 2rem;
border-radius: 10px;
z-index: 3; z-index: 3;
text-align: center; text-align: center;
overflow: hidden; overflow: hidden;
box-sizing: border-box;
} }
.js-modal h2 { .js-modal h2 {
@ -377,4 +373,14 @@
grid-template-columns: auto auto auto; grid-template-columns: auto auto auto;
grid-gap: 20px; grid-gap: 20px;
} }
.js-modal__content {
max-width: 500px;
max-height: 400px;
left: 50%;
top: 50%;
margin-left: -250px;
margin-top: -200px;
border-radius: 10px;
}
} }