Skip to content

Commit

Permalink
Update chat footer and header styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Gab committed Feb 13, 2024
1 parent 7232556 commit f09edcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Chat/ChatFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function ChatFooter({ roomId }: { roomId: string }) {
<ToastContainer position="bottom-left" />
{showToast && <Toast message={toastMessage} />}
{image && (
<div className="relative border border-primary rounded-lg max-w-[6rem] h-24 ml-4 mb-1">
<div className="relative border text-red-600 rounded-lg max-w-[6rem] h-24 ml-4 mb-1">
<IoMdCloseCircle
size={20}
className="absolute -right-2 -top-2 text-xs cursor-pointer text-red-600"
Expand All @@ -181,7 +181,7 @@ function ChatFooter({ roomId }: { roomId: string }) {
<img src={image} className="w-full h-full object-contain" />
</div>
)}
<div className="basis-[8%] border-t-2 p-2 flex items-center gap-4">
<div className="basis-[8%] p-2 flex items-center bg-neutral-800 gap-4">
{message.length === 0 && (
<>
<AiFillPlusCircle
Expand Down Expand Up @@ -241,7 +241,7 @@ function ChatFooter({ roomId }: { roomId: string }) {
) : (
<IoMdSend
size={28}
className="cursor-pointer text-primary"
className="cursor-pointer text-red-600"
onClick={(e) => handleSendMessage(e, message)}
/>
)}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Chat/ChatHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function ChatHeader({ roomId }: { roomId: string }) {
}, [roomId]);

return (
<div className="basis-[7%] flex justify-center items-center p-3 font-medium bg-zinc-700">
<div className="basis-[7%] flex justify-center items-center p-3 font-medium bg-neutral-800 ">
<p className="text-xl dark:text-white">{room?.title}</p>
<button type="submit" className="btn bg-red-600 hover:bg-red-800">
Copy Room ID
Expand Down

0 comments on commit f09edcd

Please sign in to comment.