We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c883a8 commit b693d17Copy full SHA for b693d17
1 file changed
apps/client/components/live-preview/index.tsx
@@ -20,9 +20,9 @@ const LivePreview = ({ value }: LivePreviewProps) => {
20
const srcdoc = `<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">${DISABLE_TAILWIND_CDN_WARN}${PREVIEW_CDN}</head><body class="h-screen">${value}</body></html>`;
21
22
return (
23
- <div className="relative h-full w-full">
+ <div className="relative size-full bg-white">
24
<iframe
25
- className="h-full w-full border-none"
+ className="size-full border-none"
26
sandbox="allow-scripts allow-same-origin"
27
srcDoc={srcdoc}
28
title="Live Preview"
0 commit comments