Skip to content

Commit

Permalink
moved redundant css and blocks (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevildude authored Jan 16, 2024
1 parent bc63a9f commit c744781
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/components/chatblock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default function ChatBlock(props: {

return (
<div
className={`relative flex flex-col gap-4 p-4 pt-8 md:p-6 md:pt-8 ${
className={`flex flex-col gap-4 p-4 pt-8 md:p-6 md:pt-8 ${
message?.messageType === ChatMessageType.USER ? "bg-gray-500/5" : ""
}`}
>
Expand Down Expand Up @@ -271,12 +271,10 @@ export default function ChatBlock(props: {
</div>
)}
{message?.messageType === ChatMessageType.AYUSHMA && (
<div className="absolute top-2 right-2">
<ChatFeedback
message_id={message.external_id}
feedback={message?.feedback ?? null}
/>
</div>
<ChatFeedback
message_id={message.external_id}
feedback={message?.feedback ?? null}
/>
)}
</div>
);
Expand Down

1 comment on commit c744781

@vercel
Copy link

@vercel vercel bot commented on c744781 Jan 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.