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

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