We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa1c49b commit bb7735dCopy full SHA for bb7735d
2 files changed
src/components/InputBox.tsx
@@ -28,7 +28,7 @@ export const InputBox = () => {
28
29
const handleKeyDown = async (event: React.KeyboardEvent<HTMLInputElement>) => {
30
if (event.key === "Enter") {
31
- askGpt(input)
+ !loading && askGpt(input)
32
}
33
};
34
src/components/inputbox.module.css
@@ -1,6 +1,6 @@
1
.topArea {
2
display: flex;
3
- background-color: rgb(39, 43, 84);
+ background-color: rgb(84, 150, 255);
4
padding: 2px 12px;
5
height: 40px;
6
width: 100%;
@@ -22,7 +22,6 @@
22
23
.settingsIcon {
24
border-radius: 50%;
25
- text-align: right;
26
width: 5%;
27
cursor: pointer;
font-size: x-large;
0 commit comments