Skip to content

Commit a16ff25

Browse files
committed
fix(style.css): made mobile responsive
fix #1
1 parent b57b613 commit a16ff25

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/style.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ main {
143143
display: none;
144144
place-items: center;
145145
padding: 2rem;
146+
z-index: 2;
146147
}
147148

148149
.modal-generator {
@@ -316,7 +317,7 @@ footer {
316317
bottom: 1rem;
317318
width: 100%;
318319
color: #04001a;
319-
z-index: -10;
320+
z-index: 1;
320321
}
321322

322323
a {
@@ -365,3 +366,19 @@ a {
365366
--output-width: 300px;
366367
}
367368
}
369+
370+
@media screen and (max-width: 444px) {
371+
.modal-generator {
372+
width: 90vw;
373+
}
374+
}
375+
376+
@media screen and (min-width: 1040px) {
377+
.modal-main-content {
378+
justify-content: center;
379+
}
380+
381+
.modal-main-content > .input {
382+
margin-right: 50px;
383+
}
384+
}

0 commit comments

Comments
 (0)