Skip to content

Commit

Permalink
fix: update thread convo ui
Browse files Browse the repository at this point in the history
  • Loading branch information
jun-low committed Oct 13, 2023
1 parent c04ba9c commit f0ef926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Thread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function Thread({threadId, messages}: { threadId: Id<'threads'>; messages
}

return (
<div className="sm:max-w-md mx-auto">
<div className="sm:max-w-2xl mx-auto">
<ul className="divide-y divide-gray-300">
{messages.map((message) => (
<li key={message._id} className="py-2">
Expand Down Expand Up @@ -95,7 +95,7 @@ export function Thread({threadId, messages}: { threadId: Id<'threads'>; messages
/>
<button
type="submit"
className="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline-blue active:bg-blue-700"
className="disabled:opacity-50 bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline-blue active:bg-blue-700"
disabled={!newMessageText}
>
Send
Expand Down

0 comments on commit f0ef926

Please sign in to comment.