From 03e7484e71532903c23e17a0ee7116f7a907e77a Mon Sep 17 00:00:00 2001 From: Gigi Date: Mon, 13 Oct 2025 16:35:11 +0200 Subject: [PATCH] fix: preserve reading font settings in markdown images - Remove inline styles from custom image component - Let CSS inheritance handle font and styling properly - Images now respect user's reading font and size settings --- src/components/ContentPanel.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/ContentPanel.tsx b/src/components/ContentPanel.tsx index 1b228604..629bd4d1 100644 --- a/src/components/ContentPanel.tsx +++ b/src/components/ContentPanel.tsx @@ -226,12 +226,6 @@ const ContentPanel: React.FC = ({ src={src} alt={alt} {...props} - style={{ - maxWidth: '100%', - height: 'auto', - display: 'block', - margin: '1rem auto' - }} /> ) }}