fix(app): simplify session max width (#44468)

This commit is contained in:
Brendan Allan
2026-08-24 01:01:11 +08:00
committed by GitHub
Unverified
parent 89451c3e32
commit 697e3e13cc
3 changed files with 3 additions and 3 deletions
@@ -36,7 +36,7 @@ export function SessionComposerRegion(props: {
<div
classList={{
"w-full px-3 pointer-events-auto": true,
"md:max-w-200 md:mx-auto 2xl:max-w-[1000px]": controller.centered(),
"md:max-w-[1000px] md:mx-auto": controller.centered(),
}}
>
<Show when={controller.state.questionRequest()} keyed>
@@ -499,7 +499,7 @@ function MessageTimelineView(
data-component="session-background-hint-row"
classList={{
"min-w-0 w-full max-w-full": true,
"md:max-w-200 2xl:max-w-[1000px] md:mx-auto": props.centered,
"md:max-w-[1000px] md:mx-auto": props.centered,
}}
>
<div
@@ -233,7 +233,7 @@ export function createSessionTimelineRowRenderer(input: {
data-timeline-row={props.row._tag}
classList={{
"min-w-0 w-full max-w-full": true,
"md:max-w-200 2xl:max-w-[1000px] md:mx-auto": input.centered?.(),
"md:max-w-[1000px] md:mx-auto": input.centered?.(),
"pt-3": props.row._tag === "AssistantPart" && props.row.previousAssistantPart,
}}
>