Revert "Add w-full to consider Cards block (#261)" (#262)

This reverts commit 06b94d4525.
This commit is contained in:
Steven H
2024-03-14 15:42:06 +00:00
committed by GitHub
parent 06b94d4525
commit 8c75bd364b
+1 -5
View File
@@ -38,11 +38,7 @@ export async function InlineImage(props: InlineProps<DocumentInlineImage>) {
}}
priority="lazy"
preload
style={[
size === 'line'
? ['max-h-[1lh]', 'h-[1lh]', 'w-auto']
: ['w-full', 'max-w-[300px]'],
]}
style={[size === 'line' ? ['max-h-[1lh]', 'h-[1lh]', 'w-auto'] : ['max-w-[300px]']]}
inline
zoom
/>