Skip to content

Commit

Permalink
Style polish
Browse files Browse the repository at this point in the history
  • Loading branch information
édouard wautier authored and édouard wautier committed Nov 13, 2023
1 parent fe542c6 commit 4f3f55b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions front/components/assistant/conversation/AgentMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -357,19 +357,9 @@ export function AgentMessage({

return (
<>
{agentMessage.action && (
<div
className={
agentMessage.content && agentMessage.content !== ""
? "border-b border-dashed border-structure-300"
: ""
}
>
<AgentAction action={agentMessage.action} />
</div>
)}
{agentMessage.action && <AgentAction action={agentMessage.action} />}
{agentMessage.content && agentMessage.content !== "" && (
<div className={agentMessage.action ? "pt-4" : ""}>
<div>
<RenderMessageMarkdown
content={agentMessage.content}
blinkingCursor={streaming}
Expand Down
2 changes: 1 addition & 1 deletion sparkle/src/components/Citation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function Citation({
<div className="s-flex-grow s-text-xs" />
{href && (
<a target="_blank" rel="noopener noreferrer" href={href}>
<IconButton icon={ExternalLinkIcon} size="sm" variant="primary" />
<IconButton icon={ExternalLinkIcon} size="sm" variant="secondary" />
</a>
)}
</div>
Expand Down

0 comments on commit 4f3f55b

Please sign in to comment.