Fix message alignment in QuestionThread
This commit is contained in:
@@ -119,7 +119,7 @@ export function QuestionThread({
|
|||||||
key={msg.id}
|
key={msg.id}
|
||||||
className="max-w-[88%] px-3 py-2 rounded-sm text-sm"
|
className="max-w-[88%] px-3 py-2 rounded-sm text-sm"
|
||||||
style={{
|
style={{
|
||||||
alignSelf: isMine ? "flex-start" : "flex-end",
|
alignSelf: isMine ? "flex-end" : "flex-start",
|
||||||
background: isMine ? "#E8E8E0" : "#F5F5F0",
|
background: isMine ? "#E8E8E0" : "#F5F5F0",
|
||||||
border: isMine ? "none" : `2px solid #E8F0D8`,
|
border: isMine ? "none" : `2px solid #E8F0D8`,
|
||||||
borderLeft: !isMine && isNew ? "3px solid #323232" : undefined,
|
borderLeft: !isMine && isNew ? "3px solid #323232" : undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user