From bc4b3b1f72400f0e4c2f96d63416762c9a82c720 Mon Sep 17 00:00:00 2001 From: Antoine BERNIER Date: Sat, 31 Aug 2024 21:33:48 +0200 Subject: [PATCH] fix: inline-block img --- src/components/mdx/Img/Img.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/mdx/Img/Img.tsx b/src/components/mdx/Img/Img.tsx index 38645e8c..db20aa1f 100644 --- a/src/components/mdx/Img/Img.tsx +++ b/src/components/mdx/Img/Img.tsx @@ -38,7 +38,7 @@ export async function Img({ decoding="async" loading="lazy" alt={alt} - className={cn('bg-surface-container rounded-lg', className)} + className={cn('bg-surface-container inline-block rounded-lg', className)} {...dims} {...props} />