Skip to content

Commit

Permalink
fixed delete btn postion in desktop view
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaBhattacharjee committed Nov 13, 2023
1 parent ab4c1d9 commit 20b9ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CommentSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const CommentSection = ({ streamId }: props) => {
Be the first to comment
</h1>
) : (
<div className=" mt-4 grid gap-4 border-2 overflow-x-clip border-white/25 w-full lg:w-1/2 p-3 rounded-lg h-auto max-h-96 overflow-y-scroll">
<div className=" mt-4 relative grid gap-4 border-2 overflow-x-clip border-white/25 w-full lg:w-1/2 p-3 rounded-lg h-auto max-h-96 overflow-y-scroll">
{commentData.map((comment: comment) => (
<div className="flex gap-4" key={comment?.timestamp}>
<div className=" h-16 w-16 flex text-black items-center justify-center font-semibold bg-white rounded-full">{userData[comment.userId] && <img src={userData[comment.userId].profilePicture} alt="Profile" className="w-full h-full rounded-full" />}</div>
Expand Down

0 comments on commit 20b9ff3

Please sign in to comment.