Skip to content

Commit ca708b1

Browse files
tang-jijosStorer
authored andcommitted
Refactor input box styling for better organization
1 parent b833cd1 commit ca708b1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/components/InputBox/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function InputBox({ onSubmit, enabled, port }) {
3232
}
3333

3434
return (
35-
<div style={{ position: 'relative' }}>
35+
<div className="input-box">
3636
<textarea
3737
dir="auto"
3838
ref={inputRef}

src/content-script/styles.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@
210210
color: #ec4336;
211211
}
212212

213+
.input-box {
214+
display: contents;
215+
}
216+
213217
.interact-input {
214218
box-sizing: border-box;
215219
padding: 5px 15px;

0 commit comments

Comments
 (0)