Fix an issue where ContentKit webframes weren't sized properly (#2978)

This commit is contained in:
Taran Vohra
2025-03-13 13:29:29 +05:30
committed by GitHub
parent b011ea0af8
commit 9108c56ca1
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@gitbook/react-contentkit": patch
---
Fix an issue where contentkit webframes weren't resized properly
@@ -185,7 +185,7 @@ export function ElementWebframe(props: ContentKitClientElementProps<ContentKitWe
: { width: '100%' }),
maxWidth: '100%',
height: Math.max(size.height || 0, 32),
height: size.height ? Math.max(size.height, 32) : '100%',
border: 'none',
}}
/>