Skip to content

Commit

Permalink
fix: ui improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dubisdev committed Mar 29, 2023
1 parent fa1c49b commit bb7735d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/InputBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const InputBox = () => {

const handleKeyDown = async (event: React.KeyboardEvent<HTMLInputElement>) => {
if (event.key === "Enter") {
askGpt(input)
!loading && askGpt(input)
}
};

Expand Down
3 changes: 1 addition & 2 deletions src/components/inputbox.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.topArea {
display: flex;
background-color: rgb(39, 43, 84);
background-color: rgb(84, 150, 255);
padding: 2px 12px;
height: 40px;
width: 100%;
Expand All @@ -22,7 +22,6 @@

.settingsIcon {
border-radius: 50%;
text-align: right;
width: 5%;
cursor: pointer;
font-size: x-large;
Expand Down

0 comments on commit bb7735d

Please sign in to comment.