docs: share page mobile bugs

This commit is contained in:
Jay V
2025-07-10 20:16:34 -04:00
parent f7d44b178b
commit 9ca54020ac
7 changed files with 50 additions and 21 deletions

View File

@@ -126,13 +126,13 @@ export function Part(props: PartProps) {
</div>
<div data-component="content">
{props.message.role === "user" && props.part.type === "text" && (
<>
<div data-component="user-text">
<ContentText text={props.part.text} expand={props.last} />
<Spacer />
</>
</div>
)}
{props.message.role === "assistant" && props.part.type === "text" && (
<>
<div data-component="assistant-text">
<ContentMarkdown expand={props.last} text={props.part.text} />
{props.last && props.message.role === "assistant" && props.message.time.completed && (
<Footer
@@ -144,7 +144,7 @@ export function Part(props: PartProps) {
</Footer>
)}
<Spacer />
</>
</div>
)}
{props.message.role === "user" && props.part.type === "file" && (
<div data-component="attachment">
@@ -159,7 +159,7 @@ export function Part(props: PartProps) {
</div>
)}
{props.part.type === "tool" && props.part.state.status === "error" && (
<div data-component="tool">
<div data-component="tool" data-tool="error">
<ContentError>{formatErrorString(props.part.state.error)}</ContentError>
</div>
)}