Skip to content

Commit

Permalink
Merge pull request #629 from StampyAI/🍄
Browse files Browse the repository at this point in the history
Chatbot: question-matching on questions input #592
  • Loading branch information
melissasamworth committed May 26, 2024
2 parents 5123318 + 5e16b4b commit 534abab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Chatbot/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const QuestionInput = ({initial, onChange, onAsk}: QuestionInputProps) => {
<div className="widget-ask fcol-10">
{results.length > 0 ? (
<Button className="full-width suggestion" action={() => handleAsk(results[0].title)}>
{results[0].title}
<p className="default">{results[0].title}</p>
</Button>
) : undefined}
<div className="flex-container">
Expand Down
5 changes: 5 additions & 0 deletions app/components/Chatbot/widgit.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@
.widget-ask .suggestion {
border: 1px solid var(--colors-cool-grey-200, #dfe3e9);
justify-content: start;
padding: var(--spacing-8) var(--spacing-12);
}

.widget-ask .suggestion:hover {
background: var(--colors-teal-50);
}

.widget-ask .send {
Expand Down

0 comments on commit 534abab

Please sign in to comment.