[Chat] Disable font scaling on fixed-height chat invite cards (#10744)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-06-05 18:18:27 +03:00
committed by GitHub
parent 67ed59fbcd
commit f8aae4a192
10 changed files with 46 additions and 24 deletions
+3 -1
View File
@@ -30,6 +30,7 @@ export function Root({
code,
initialPreview,
currentConvoId,
hasFixedHeight,
children,
}: {
code: string
@@ -40,6 +41,7 @@ export function Root({
* open/join (you're already here).
*/
currentConvoId?: string
hasFixedHeight: boolean
children: React.ReactNode
}) {
const {hasSession} = useSession()
@@ -137,7 +139,7 @@ export function Root({
return (
<ChatInviteProvider
value={{code, loading, error: !!error, preview, action}}>
value={{code, loading, error: !!error, preview, action, hasFixedHeight}}>
{children}
</ChatInviteProvider>
)