Skip to content

Commit

Permalink
Refactor input box styling for better organization
Browse files Browse the repository at this point in the history
  • Loading branch information
tang-ji authored and josStorer committed Apr 25, 2023
1 parent b833cd1 commit ca708b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/InputBox/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function InputBox({ onSubmit, enabled, port }) {
}

return (
<div style={{ position: 'relative' }}>
<div className="input-box">
<textarea
dir="auto"
ref={inputRef}
Expand Down
4 changes: 4 additions & 0 deletions src/content-script/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@
color: #ec4336;
}

.input-box {
display: contents;
}

.interact-input {
box-sizing: border-box;
padding: 5px 15px;
Expand Down

0 comments on commit ca708b1

Please sign in to comment.