Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

styles : changed the span to a button for the is bad words element #666 #696

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions client/src/components/Chat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -504,18 +504,18 @@ const Chat = () => {
<div className="dark:text-white text-black flex flex-col border-red border w-full rounded-r-md p-3">
<p>Your buddy is trying to send you a bad word</p>
<div className="flex w-full gap-6">
<span
<Button
onClick={() => showBadword(id)}
className="text-sm cursor-pointer"
className="hover:opacity-80 px-4 py-2 rounded-lg bg-gray-500 dark:bg-primary text-primary dark:text-white"
>
See
</span>
<span
</Button>
<Button
onClick={() => hideBadword(id)}
className="text-red text-sm cursor-pointer"
className="hover:opacity-80 px-4 py-2 rounded-lg bg-gray-500 dark:bg-primary text-primary dark:text-white"
>
Hide
</span>
</Button>
</div>
</div>
) : (
Expand Down
Loading