fix: modal responsiveness

This commit is contained in:
2024-05-12 14:55:35 +02:00
parent 392a6437f8
commit 0cc3a12d1d
+4 -7
View File
@@ -54,10 +54,6 @@ export default defineComponent({
width: 100%; width: 100%;
height: 100vh; height: 100vh;
z-index: 200; z-index: 200;
display: flex;
justify-content: center;
align-items: center;
} }
.modal-background { .modal-background {
@@ -73,11 +69,12 @@ export default defineComponent({
} }
.modal-wrapper { .modal-wrapper {
position: relative; position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 210; z-index: 210;
margin-top: 1em;
& > :slotted(div) { & > :slotted(div) {
background-color: #1a1a1a; background-color: #1a1a1a;
box-shadow: 0 0 15px 10px #0e0e0e; box-shadow: 0 0 15px 10px #0e0e0e;