Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export function EditFAQModal({
handleInputChange("editedQuestion", e.target.value)
}
/>
<p className="text-sm text-gray-500">
<p className="text-sm text-muted-foreground">
You can edit the question to make it clearer for visitors.
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export function PublishFAQModal({
handleInputChange("editedQuestion", e.target.value)
}
/>
<p className="text-sm text-gray-500">
<p className="text-sm text-muted-foreground">
You can edit the question to make it clearer for other
visitors.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export function ConversationViewSidebar({
type="text"
value={newMessage}
onChange={(e) => setNewMessage(e.target.value)}
className="flex-1 rounded-md border border-input px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
className="flex-1 rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
placeholder="Type your message..."
/>
<Button type="submit" disabled={!newMessage.trim()}>
Expand Down Expand Up @@ -383,7 +383,7 @@ export function ConversationViewSidebar({
value={newMessage}
onChange={(e) => setNewMessage(e.target.value)}
placeholder="Type your question..."
className="min-h-[100px] w-full rounded-md border border-input px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
className="min-h-[100px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
required
/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ee/features/conversations/components/viewer/faq-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export function FAQSection({
<span className="flex-shrink-0 rounded bg-secondary px-1.5 py-0.5 text-xs font-medium text-secondary-foreground">
Q
</span>
<div className="line-clamp-2 min-w-0 flex-1 text-left text-sm font-medium text-gray-900">
<div className="line-clamp-2 min-w-0 flex-1 text-left text-sm font-medium text-foreground">
{faq.editedQuestion}
</div>
</div>
Expand All @@ -220,7 +220,7 @@ export function FAQSection({
<span className="flex-shrink-0 rounded bg-primary/80 px-1.5 py-0.5 text-xs font-medium text-primary-foreground">
A
</span>
<p className="whitespace-pre-wrap text-sm font-medium text-gray-700">
<p className="whitespace-pre-wrap text-sm font-medium text-muted-foreground">
{faq.answer}
</p>
</div>
Expand Down