Skip to content

Commit

Permalink
fix: fixed the theme for chat reply feature
Browse files Browse the repository at this point in the history
fixed the UI of the chat reply
  • Loading branch information
abhishek-01k committed Oct 14, 2024
1 parent dbb6fe1 commit b32e8a0
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ export const ReplyCard = ({
<Span
padding="8px 12px 0px"
fontSize="10px"
color={theme.textColor?.chatSentBubbleText}
color={position ? `${theme.textColor?.chatSentBubbleText}` : `${theme.textColor?.chatReceivedBubbleText}`}
>
<Span
fontWeight="500"
padding="0px"
>
{`${replyPayloadManager.payload.fromDID?.split(':')[1].slice(0, 6)}...${replyPayloadManager.payload.fromDID
{`${replyPayloadManager.payload.fromDID
?.split(':')[1]
.slice(-6)}`}
.slice(0, 6)}...${replyPayloadManager.payload.fromDID?.split(':')[1].slice(-6)}`}
</Span>
</Span>
<CardRenderer
Expand All @@ -173,12 +173,11 @@ export const ReplyCard = ({
previewMode={true}
/>
</Section>

)}
</ReplySection>
);
};

const ReplySection = styled(Section) <ReplySectionProps>`
const ReplySection = styled(Section)<ReplySectionProps>`
border-left: 4px solid ${({ borderBG }) => borderBG || 'transparent'};
`;

0 comments on commit b32e8a0

Please sign in to comment.