feat: resizable input box (#246, #266)

This commit is contained in:
josc146
2023-04-27 15:29:56 +08:00
parent 9fa91b0e21
commit 7c5046ccff
3 changed files with 67 additions and 22 deletions
+6 -4
View File
@@ -224,17 +224,19 @@
border: 0;
border-top: 1px solid var(--theme-border-color);
width: 100%;
height: 100%;
background-color: var(--theme-color);
color: var(--font-color);
resize: none;
min-height: 70px;
max-height: 160px;
&:focus {
outline: none;
}
}
.submit-button {
position: absolute;
right: 1.1em;
bottom: 0.2em;
bottom: 0.4em;
padding: 1px 6px;
cursor: pointer;
background-color: #30a14e;