[frontend] Design fixes

This commit is contained in:
Cathy Hu 2020-09-04 21:47:59 +02:00
parent 619d659a3a
commit 0bec1f0bee

View file

@ -2,12 +2,11 @@
display: grid; display: grid;
margin: 10px; margin: 10px;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 10px; gap: 30px;
align-items: stretch; align-items: stretch;
justify-items: stretch; justify-items: stretch;
@media (max-width: 600px) { @media (max-width: 600px) {
grid-template-columns: 1fr; grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
} }
} }
@ -18,9 +17,9 @@
.textarea { .textarea {
resize: none; resize: none;
max-width: 100%;
max-height: 100%; max-height: 100%;
min-height: 200px; min-height: 200px;
width: calc(100% - 20px);
border: thin dotted gray; border: thin dotted gray;
padding: 10px; padding: 10px;
} }