From 044f7f0cc60222f942266ea5dcb489585c9817c8 Mon Sep 17 00:00:00 2001 From: Jiayuan Zhang Date: Tue, 19 May 2026 19:15:03 +0200 Subject: [PATCH] feat(editor): bump HTML iframe preview default height to 480px (MUL-2419) (#2842) 320px was too cramped for typical rendered HTML (charts, dashboards, formatted documents). Matches the existing HTML attachment preview height for visual consistency across both iframe surfaces. Co-authored-by: Lambda Co-authored-by: multica-agent --- packages/views/editor/code-block-iframe.tsx | 4 ++-- packages/views/editor/extensions/code-block-view.tsx | 2 +- packages/views/editor/html-block-preview.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/views/editor/code-block-iframe.tsx b/packages/views/editor/code-block-iframe.tsx index 023bd6e21..28d8e848e 100644 --- a/packages/views/editor/code-block-iframe.tsx +++ b/packages/views/editor/code-block-iframe.tsx @@ -29,7 +29,7 @@ interface CodeBlockIframeProps { /** Iframe title for accessibility. */ title: string; className?: string; - /** Tailwind height token; defaults to h-[320px]. */ + /** Tailwind height token; defaults to h-[480px]. */ heightClassName?: string; } @@ -37,7 +37,7 @@ export function CodeBlockIframe({ html, title, className, - heightClassName = "h-[320px]", + heightClassName = "h-[480px]", }: CodeBlockIframeProps) { return (