story-kit: done 195_story_preserve_newlines_in_chat_message_submission
This commit is contained in:
@@ -53,8 +53,7 @@ function MessageItemInner({ msg }: MessageItemProps) {
|
||||
fontFamily: msg.role === "tool" ? "monospace" : "inherit",
|
||||
fontSize: msg.role === "tool" ? "0.85em" : "1em",
|
||||
fontWeight: "500",
|
||||
whiteSpace:
|
||||
msg.role === "tool" || msg.role === "user" ? "pre-wrap" : "normal",
|
||||
whiteSpace: msg.role === "tool" ? "pre-wrap" : "normal",
|
||||
lineHeight: "1.6",
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user