Refactor input box styling for better organization

This commit is contained in:
Ji Tang authored and josc146 committed 2023-04-25 14:48:51 +08:00
1 parent b833cd1707
commit ca708b19cf
2 files changed
+5 -1

No files matched your search

+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;