diff --git a/packages/gitbook/src/components/DocumentView/Images.tsx b/packages/gitbook/src/components/DocumentView/Images.tsx index 4eebf7250..e7055e09c 100644 --- a/packages/gitbook/src/components/DocumentView/Images.tsx +++ b/packages/gitbook/src/components/DocumentView/Images.tsx @@ -122,7 +122,11 @@ async function ImageBlock(props: { width: getImageDimension(block.data.width, undefined), height: getImageDimension(block.data.height, 'auto'), }} - style={withFrame ? 'rounded-xl' : undefined} + style={ + withFrame + ? 'rounded-xl' + : 'circular-corners:rounded-2xl rounded-corners:rounded-sm' + } />