mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-06-28 15:21:05 +08:00
Refactor input box styling for better organization
This commit is contained in:
@@ -32,7 +32,7 @@ export function InputBox({ onSubmit, enabled, port }) {
|
||||
}
|
||||
|
||||
return (
|
||||
<div style={{ position: 'relative' }}>
|
||||
<div className="input-box">
|
||||
<textarea
|
||||
dir="auto"
|
||||
ref={inputRef}
|
||||
|
||||
@@ -210,6 +210,10 @@
|
||||
color: #ec4336;
|
||||
}
|
||||
|
||||
.input-box {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.interact-input {
|
||||
box-sizing: border-box;
|
||||
padding: 5px 15px;
|
||||
|
||||
Reference in New Issue
Block a user