Skip to content

Commit

Permalink
Chat sides
Browse files Browse the repository at this point in the history
  • Loading branch information
lil5 committed Sep 23, 2024
1 parent 3a908cf commit d04955e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/src/components/Chat/ChatPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,16 @@ export default function ChatPost(props: ChatPostProps) {

return (
<div
className="tw-mb-2 tw-flex tw-flex-row tw-items-start"
className={"tw-mb-2 tw-flex tw-flex-row".concat(
isMe ? " tw-justify-end" : " tw-justify-start",
)}
{...(props.isChainAdmin ? longPress : {})}
>
<div
className={"tw-max-w-full tw-overflow-hidden tw-rounded-tl-xl tw-rounded-tr-xl tw-inline-block tw-p-2 tw-rounded-br-xl tw-mx-4".concat(
isMe ? " tw-bg-purple-shade" : " tw-bg-light",
className={"tw-max-w-full tw-overflow-hidden tw-rounded-tl-xl tw-rounded-tr-xl tw-inline-block tw-p-2 tw-mx-4".concat(
isMe
? " tw-bg-purple-shade tw-rounded-bl-xl"
: " tw-bg-light tw-rounded-br-xl",
)}
>
{username ? (
Expand Down

0 comments on commit d04955e

Please sign in to comment.