visual tweaks

This commit is contained in:
Glen Maddern 2025-06-25 20:38:05 +10:00
commit b07b0a73e1
3 changed files with 2 additions and 14 deletions

View file

@ -33,7 +33,7 @@ const ChatMessage: React.FC<ChatMessageProps> = ({ message }) => {
// Handle regular messages (user, assistant, system)
return (
<div className={`flex justify-end`}>
<div className={`max-w-[80%] rounded-2xl px-5 py-3 shadow bg-white text-black`}>
<div className={`max-w-[80%] rounded-2xl px-5 py-3 shadow bg-white text-black mb-3`}>
<div className="prose prose-zinc">
<ReactMarkdown
remarkPlugins={[remarkGfm]}

View file

@ -1,12 +0,0 @@
import React, { useState, useEffect } from 'react'
interface ReasoningBlockProps {
reasoning: string
isStreaming?: boolean
startTime?: number
endTime?: number
}
const ReasoningBlock: React.FC<ReasoningBlockProps> = ({ reasoning, isStreaming = false, startTime, endTime }) => {}
export default ReasoningBlock

View file

@ -39,7 +39,7 @@ const ReasoningMessage: React.FC<ReasoningMessageProps> = ({ message }) => {
<div className={`flex justify-start`}>
<div className={`text-zinc-900 w-full`}>
<div
className={`text-xs/5 text-zinc-600 border opacity-80 hover:opacity-100 border-zinc-200 rounded-lg p-3 bg-zinc-50 cursor-pointer hover:bg-zinc-100 transition-all duration-300 ${
className={`text-xs/5 text-zinc-600 border opacity-80 hover:opacity-100 border-zinc-200 rounded-lg p-3 bg-zinc-50 cursor-pointer hover:bg-zinc-100 ${
isExpanded ? 'border-zinc-300 opacity-100' : ''
}`}
onClick={toggleExpanded}