From 06b94d4525da6fdbcdf35e54a6afd0a61de91fa1 Mon Sep 17 00:00:00 2001 From: Viktor Renkema <49148610+viktorrenkema@users.noreply.github.com> Date: Thu, 14 Mar 2024 15:55:25 +0100 Subject: [PATCH] Add w-full to consider Cards block (#261) --- src/components/DocumentView/InlineImage.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/DocumentView/InlineImage.tsx b/src/components/DocumentView/InlineImage.tsx index 24cafc897..f2ba7d5f8 100644 --- a/src/components/DocumentView/InlineImage.tsx +++ b/src/components/DocumentView/InlineImage.tsx @@ -38,7 +38,11 @@ export async function InlineImage(props: InlineProps) { }} 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 />