mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-19 00:55:13 +00:00
Fix an issue where ContentKit webframes weren't sized properly (#2978)
This commit is contained in:
@@ -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%' }),
|
: { width: '100%' }),
|
||||||
|
|
||||||
maxWidth: '100%',
|
maxWidth: '100%',
|
||||||
height: Math.max(size.height || 0, 32),
|
height: size.height ? Math.max(size.height, 32) : '100%',
|
||||||
border: 'none',
|
border: 'none',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user