diff --git a/src/components/DocumentView/InlineImage.tsx b/src/components/DocumentView/InlineImage.tsx index f2ba7d5f8..24cafc897 100644 --- a/src/components/DocumentView/InlineImage.tsx +++ b/src/components/DocumentView/InlineImage.tsx @@ -38,11 +38,7 @@ export async function InlineImage(props: InlineProps) { }} 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 />