perf(app): trim session render work (#16987)

This commit is contained in:
Shoubhit Dash
2026-03-11 18:19:17 +05:30
committed by GitHub
parent db57fe6193
commit 7291e28273
2 changed files with 23 additions and 14 deletions

View File

@@ -764,6 +764,7 @@ export function MessageTimeline(props: {
"min-w-0 w-full max-w-full": true,
"md:max-w-200 2xl:max-w-[1000px]": props.centered,
}}
style={{ "content-visibility": "auto", "contain-intrinsic-size": "auto 500px" }}
>
<Show when={commentCount() > 0}>
<div class="w-full px-4 md:px-5 pb-2">