mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-23 09:04:47 +00:00
fix(app): fix max-width on timeline
This commit is contained in:
@@ -140,7 +140,7 @@ export function SessionComposerRegion(props: {
|
|||||||
<div
|
<div
|
||||||
classList={{
|
classList={{
|
||||||
"w-full px-3 pointer-events-auto": true,
|
"w-full px-3 pointer-events-auto": true,
|
||||||
"md:max-w-200 md:mx-auto 2xl:max-w-[1000px]": props.centered,
|
"md:max-w-[500px] md:mx-auto 2xl:max-w-[700px]": props.centered,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Show when={props.state.questionRequest()} keyed>
|
<Show when={props.state.questionRequest()} keyed>
|
||||||
|
|||||||
@@ -417,7 +417,7 @@ export function MessageTimeline(props: {
|
|||||||
style={{ "padding-top": "var(--session-title-height)" }}
|
style={{ "padding-top": "var(--session-title-height)" }}
|
||||||
classList={{
|
classList={{
|
||||||
"w-full": true,
|
"w-full": true,
|
||||||
"md:max-w-200 md:mx-auto 2xl:max-w-[1000px]": props.centered,
|
"md:max-w-[500px] md:mx-auto 2xl:max-w-[700px]": props.centered,
|
||||||
"mt-0.5": props.centered,
|
"mt-0.5": props.centered,
|
||||||
"mt-0": !props.centered,
|
"mt-0": !props.centered,
|
||||||
}}
|
}}
|
||||||
@@ -472,7 +472,7 @@ export function MessageTimeline(props: {
|
|||||||
}}
|
}}
|
||||||
classList={{
|
classList={{
|
||||||
"min-w-0 w-full max-w-full": true,
|
"min-w-0 w-full max-w-full": true,
|
||||||
"md:max-w-200 2xl:max-w-[1000px]": props.centered,
|
"md:max-w-[500px] 2xl:max-w-[700px]": props.centered,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Show when={commentCount() > 0}>
|
<Show when={commentCount() > 0}>
|
||||||
|
|||||||
@@ -404,7 +404,7 @@ export function SessionTimelineHeader(props: {
|
|||||||
"w-full": true,
|
"w-full": true,
|
||||||
"pb-10": true,
|
"pb-10": true,
|
||||||
"px-4 md:px-5": true,
|
"px-4 md:px-5": true,
|
||||||
"md:max-w-200 md:mx-auto 2xl:max-w-[1000px]": props.centered,
|
"md:max-w-[500px] md:mx-auto 2xl:max-w-[700px]": props.centered,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="pointer-events-auto h-12 w-full flex items-center justify-between gap-2">
|
<div class="pointer-events-auto h-12 w-full flex items-center justify-between gap-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user