From 8c75bd364bf5dd82b0fdf3a7adbe0bdced1d08c5 Mon Sep 17 00:00:00 2001 From: Steven H Date: Thu, 14 Mar 2024 15:42:06 +0000 Subject: [PATCH] Revert "Add w-full to consider Cards block (#261)" (#262) This reverts commit 06b94d4525da6fdbcdf35e54a6afd0a61de91fa1. --- src/components/DocumentView/InlineImage.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 />