diff --git a/packages/gitbook/src/components/DocumentView/Images.tsx b/packages/gitbook/src/components/DocumentView/Images.tsx index 27db314d2c..632ae75fa4 100644 --- a/packages/gitbook/src/components/DocumentView/Images.tsx +++ b/packages/gitbook/src/components/DocumentView/Images.tsx @@ -19,34 +19,42 @@ export function Images(props: BlockProps) { className={tcls( style, 'flex', - 'flex-row', - 'gap-3', + 'w-full', align === 'center' && 'justify-center', align === 'right' && 'justify-end', - align === 'left' && 'justify-start', - hasMultipleImages && ['grid', 'grid-flow-col'], - withFrame && [ - 'rounded-2xl', - 'border', - 'border-[rgb(234,235,238)]', - 'dark:border-[rgb(45,50,58)]', - 'relative', - 'overflow-hidden', - ] + align === 'left' && 'justify-start' )} > - {block.nodes.map((node: any, _i: number) => ( - - ))} +
+ {block.nodes.map((node: any, _i: number) => ( + + ))} +
); }