We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9efb8 commit f29d1e2Copy full SHA for f29d1e2
1 file changed
packages/gitbook/src/components/DocumentView/Images.tsx
@@ -122,7 +122,11 @@ async function ImageBlock(props: {
122
width: getImageDimension(block.data.width, undefined),
123
height: getImageDimension(block.data.height, 'auto'),
124
}}
125
- style={withFrame ? 'rounded-xl' : undefined}
+ style={
126
+ withFrame
127
+ ? 'rounded-xl'
128
+ : 'circular-corners:rounded-2xl rounded-corners:rounded-sm'
129
+ }
130
/>
131
</Caption>
132
</div>
0 commit comments