Refactor input box styling for better organization

This commit is contained in:
Ji Tang
2023-04-24 12:00:15 +02:00
committed by josc146
parent b833cd1707
commit ca708b19cf
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export function InputBox({ onSubmit, enabled, port }) {
}
return (
<div style={{ position: 'relative' }}>
<div className="input-box">
<textarea
dir="auto"
ref={inputRef}
+4
View File
@@ -210,6 +210,10 @@
color: #ec4336;
}
.input-box {
display: contents;
}
.interact-input {
box-sizing: border-box;
padding: 5px 15px;