feat: #1303 improve long text input ux and mobile modal

This commit is contained in:
Yidadaa
2023-05-08 22:49:51 +08:00
parent 1f2ef1cdb7
commit 1b19fdfe11
5 changed files with 76 additions and 48 deletions

View File

@@ -124,6 +124,18 @@
}
}
@media screen and (max-width: 600px) {
.modal-container {
width: 100vw;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
.modal-content {
max-height: 50vh;
}
}
}
.show {
opacity: 1;
transition: all ease 0.3s;
@@ -191,13 +203,3 @@
resize: none;
min-width: 50px;
}
@media only screen and (max-width: 600px) {
.modal-container {
width: 90vw;
.modal-content {
max-height: 50vh;
}
}
}